Getting started with Home Assistant and am creating a routine where I only want to execute an action if the time is after 12:30am and before sun_next_rising with a -30m offset (30 minutes prior to sunrise).
I’m a bit of a newbie and tried a couple of things, just trying to work out how I can integrate the offset in YAML: