I have an automation to turn off all lights in several rooms. It all works well except with groups of lights. I have these GU10 spotlights which are grouped as one light. When the automation runs they will randomly be on/off and they wouldn't even show up with the correct status in HA. I will see them as off but they clearly are not, so I have to toggle from their button on a dashboard to turn them on (which does nothing) and then off (which finally turns them off for real).
In one case all the GU10s are IKEA ones, which are connected to HA through ZHA. In another case there's also Philips Hue ones involved through the Hue hub. However I have a feeling it is the IKEA ones that are the issue.
I was wondering if anybody has experienced anything similar relating to groups of lights controlled over ZHA? Where do you think I should start with to try to figure this out?