home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.97k stars 7.28k forks source link

Contradiction between NOTE and Configuration Variables (Restore) #35687

Closed jca001 closed 2 days ago

jca001 commented 2 days ago

Feedback

In the NOTE it states However, automations using the timer.finished event will not trigger if the timer expires when Home Assistant is not running. But in the Configuration Variables (Restore) it states If an active timer was supposed to end while Home Assistant is stopped, the timer.finished event will fire on startup for that timer.

Which one is true?

URL

https://www.home-assistant.io/integrations/timer/

Version

2024.11.1

Additional information

No response

frenck commented 2 days ago

Both, if Home Assistant isn't running, it will not be able to fire; however, it will fire later on startup of Home Assistant in case the previous window was missed.

../Frenck

jca001 commented 2 days ago

I think the NOTE could be a little more clear. State timer.finished will NOT fire while Home Assistant is not running, but if Restore is true, then when Home Assistant starts again a timere.finished will fire if the timer would have expired.