#Schedule - but with ‘from: sunrise’

5 messages · Page 1 of 1 (latest)

serene wasp
#

Hi all,

I have a number of use cases where I would like to do this “whenever time_of_day is X, make entity be in some state”

For instance, I want the outdoor lights to be at 75% after sunset and 25% after midnight. I know that with automations, you can do this trigger based.

However, due to spotty power, I have to deal with frequent hass outages and the trigger might be missed

I know about Schedule, which makes data available based on a time base, but it boggles the mind this does not include placeholder times like sunrise and sunset

Is there a way to make schedules or another tool behave the way I want?

scenic ridge
#

You can either use an automation trigger for home assistant start and/or a time_pattern trigger and conditions to decide what to do based on the time

serene wasp
#

But a simple ‘from: sunset -00:30:00’ in schedule is impossible?

scenic ridge
#

it's just for absolute times

#

feel free to make a post in the forum in the WTH section