Closed vJan00 closed 2 months ago
Hi!
Thank you for pointing this out. Is this using ZHA or Zigbee2mqtt? I use the latter myself, so do not have much experience with ZHA.
Could you share a scene configuration where you use these Zigbee groups and maybe the corresponding device and its attributes in Home Assistant?
Hey,
I use ZHA. I have already done some debugging, in my bedroom everything works as desired - 3x MagicHome LED strips, 2x IKEA Tradfri bulbs (Zigbee) and 1x IKEA LED driver (Zigbee) - but in my living room it unfortunately does not work - 2x MagicHome LED strips, 2x IKEA Tradfri bulbs (Zigbee), 1x IKEA LED driver (Zigbee) and 1x IKEA Tradfri bulb group consisting of 3x IKEA Tradfri light bulbs (Zigbee Group).
The only difference is the group in question. I will share the two desired scenes from scenes.yaml below:
Regarding the corresponding devices and attributes, I am not quite sure if this is correct/helps, it should be noted that the device that contains the entity for the Zigbee group also contains other Zigbee groups that do not belong to the scenes (this is where I suspect an "error").
And finally, here is the hierarchy of devices and entities:
From your scene files, are all light.*leuchte zigbee groups? If so, these should work as any other light entity.
When you say stateful scenes do not work for the living room do you mean that it doesn't turn on or off the lights as desired, or does it not infer whether the scene is turned on?
Only the ´light.kuchen_decke´ is a Zigbee group.
Statefulscenes does turn the desired scene on or off but then immediately shows the scene as "off" even if it just has turned it on. Same thing when i manualy do turn it on via Hass.
I think this is a ZHA issue: https://github.com/home-assistant/core/issues/42830
Hey, thanks for this great automation - it really helps me a lot! The only thing I've noticed is that Zigbee groups don't work.
I think this has to do with the fact that Zigbee groups are not handled as individual devices but as pure controls in the respective ZigBee dongle. This means that Stateful Scenes controls them but queries their attributes incorrectly as they do not have the correct ones (they are on the correct devices belonging to the group).
I am happy to help with debugging and will update the issue as soon as I find out more.