Automation + Visual Crossing Weather

I am currently using the plugins Automation and Visual Crossing Weather. The weather plugin adds the value %sunrise%. The Automation plugin enables you to use times for triggers. Is it possible to mix and match the %sunrise% value in the Automation plugin with a calculation (- 30 minutes). If so, how should I code it?