Handling missed events?

If I restart Home Assistant just after a time event like sunset (say) has just passed (temperature threshold has been crossed etc) then those conditions that depend on that event won’t fire (excuse my terminology if it isn’t correct). How can I get home assistant to periodically check for missed events? So guess this is effectively about persistently listening for a state, rather than listening for a change of state. Cheers Ron.

I’m stumped. Sounds like a feature request.

I used to use a commercial product and it also couldn’t do that. Heh.

I guess you would have to create some additional automation rules which check based on time like every x minutes. Or just add a time trigger to all automation rules and put the previous triggers also in the conditions.

Thanks bbrendon. A little surprised that it isn’t just my lack of familiarity. I guess this is a matter of being able to poll at intervals, the states of ‘sensors’, such as time or lux or whatever, associating those polls with conditions that fire events. So a ‘sunset’ event (say) might be repeated at intervals, then sunrise repeated etc. Then those automations listening for such events would be triggered if not already in the relevant triggered state. Chrs R.

Thanks runningman, sounds like a plan. Best wishes, Ron.