Open marlind89 opened 2 weeks ago
Hey there @kane610, mind taking a look at this issue as it has been labeled with an integration (deconz
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
deconz documentation deconz source (message by IssueLinks)
Thanks for reporting. I think that the cause of this might be state reports from the lights that also contain the brightness data which cause the group entity to update, this is not something I will fix short term.
The problem
There seems to be an issue regarding the brightness of deconz group entities in home assistant. The brightness of the deconz group is constantly changing even though the lights within the group are not.
I have noticed that the different brightness levels the deconz group is constantly alternating between is the brightness values that the group's lights have (including the ones that are off).
Lets say a deconz group have these lights with the following states:
Light 1: On (Brightness 50) Light 2: Off (Brightness 150) Light 3: Off (Brightness 254)
(If I understand correctly deconz stores the previous brightness of the lights even if they currently are off?)
In this case the deconz group in home assistant will keep alternating between 50, 150, 254.
If all lights in the group were on with different brightness levels the issue would still occur, but I found it interesting it also occurs when all but one lights are off.
Similar issue was reported in #37548
Deconz gateway version: 2.27.6 Stick: Conbee II Deconz firmware version: 26780700
What version of Home Assistant Core has the issue?
core-2024.8.3
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
deconz
Link to integration documentation on our website
https://www.home-assistant.io/integrations/deconz
Diagnostics information
Debug log: home-assistant_deconz_2024-08-25T20-03-19.413Z.log
Also I don't get why there are light changes events in the log file above. I didn't change any lights during debug logging (made sure to disable all automations while debug logging). Maybe thats normal, not sure how the deconz websocket api works.
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response