You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not a problem with the lights turning on, but instead the home assistant event ( experimental_event_entities: true) get triggered again after a restart. Also, is the state of the event supposed to be a timestamp or still an action_type?
abrasher
changed the title
Some devices turn on after restarting container
Experimental home assistant events retrigger when restarting container
Dec 6, 2024
The actual state is always a timestamp (generated by HA). I agree that having to check for unavailable is somewhat unfortunate, but that's how the HA state engine seems to work (unless we introduce a new idleevent_type).
What happened?
When I restart the container, ~~some lights that were previously off prior to the restart suddenly turn on. ~~ event entities are retriggered
This was not happening on version 1.4.1
I also get an error about publishEntityState
What did you expect to happen?
Events not to get retriggered
How to reproduce it (minimal and precise)
docker compose restart zigbee2mqtt
events are triggered again, event though it is several hours since last action
Zigbee2MQTT version
1.42.0-dev commit: 639e3bb
Adapter firmware version
20220219
Adapter
zStack3x0 Sonoff Zigbee USB Stick
Setup
Docker, linux x64, debian 12
Debug log
The devices that trigger a new event after restart:
turn on after restart are:Hue Tap 00315 (0x000000000047a196)
log.log
The text was updated successfully, but these errors were encountered: