-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
timer.finished is triggered with the timer state set to active #115087
Comments
This behavior also interferes with the typical workaround for timer.finished not firing for timers that expire while homeassistant is not running. The most publicized workaround is to add a trigger to your automation for homeassistant.start event and condition of entry to the automation being that the timer is in the idle state. Unfortunately, now that unqualified check on the idle state no longer works as it prevents normal entry when timer.finished is fired. |
It looks like the code writes the state only after it fires the event |
The state isn't set to IDLE until after the event is fired |
The problem
In 2024.4.0 and 2024.4.1 when the timer.finished event is triggered the timer's state is now active instead of idle. it has broken my automations that have different types of triggers. An example is below
What version of Home Assistant Core has the issue?
2024.4.0 and 2024.4.1
What was the last working version of Home Assistant Core?
2024.3.3
What type of installation are you running?
Home Assistant Container
Integration causing the issue
Timer
Link to integration documentation on our website
https://www.home-assistant.io/integrations/timer/
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
This is the trigger for the run that has the issue
This is the trace for the condition from the above yaml. conditions/1 should be true because this run was triggered by the timer.finished event.
Additional information
I've also described this here: https://community.home-assistant.io/t/timer-finished-not-working-anymore/713694/7?u=ant-car
The text was updated successfully, but these errors were encountered: