Open basslet opened 2 weeks ago
Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (binary_sensor
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
binary_sensor documentation binary_sensor source (message by IssueLinks)
The problem might be in the ZHA Integration. In earlier versions (2024.4), when a state got stuck, e.g. due to a restart or crash, then ZHA would periodically update HA to the correct state. This is no longer happening.
When a ZHA sensor has an incorrect state, it will remain incorrect and not update to the actual state of the hardware.
The problem
Since updating from 2024.4.4 to 2024.10.3, I'm experiencing stuck sensors, both for hardware (ZHA integration) and template sensors.
Two examples:
For ZHA, a workaround is to restart the integration. For the template sensor I need to restart HA.
I enabled the ZHA debug log and ran the profiler, none of which indicated any issues. HA is running on a Pi 4.
What version of Home Assistant Core has the issue?
2024.10.3
What was the last working version of Home Assistant Core?
2024.4.4
What type of installation are you running?
Home Assistant Supervised
Integration causing the issue
Sensors
Link to integration documentation on our website
https://www.home-assistant.io/integrations/binary_sensor/
Diagnostics information
home-assistant_zha_2024-10-28T09-24-51.332Z.log
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response