Turn multiple hue lights off in one go

I have aprox 10 hue lights in my living room and 4 in my kitchen.
in configuration.yaml they are grouped in two ligthgroups.
In my automation I can call the on/off command for the two lightgroups. And they respond.

Well… not all of them.
Turning them on works fine (I call a pre-defined light scene)
Turning them off regularly leaves one or more individual lights on. Repeating the command makes no difference.
It looks like the hue-bridge can’t process all of the commands at once.

There doesn’t seem to be a general “off” scene in Hue, so I end up sending off-commands to each bulb from HA (to be more specific: I send off-commands to the two light groups, which in turn treats the commands as commands to the individual bulbs).

Does anyone have a clue/tip how to turn all of the lights off?

You need to create the groups in the Hue app (I think they are called rooms or something like that, haven’t used the app for a few years). HA should then import these groups and then you use these instead of the individual bulbs.

Let’s say you have 5 bulbs in a chandelier.
With a light group from HA it will send 5 commands (one for each bulb) to the Hue bridge, which can lead to missed or delayed commands as the Hue Bridge is limited to only handle a certain amount of commands per second.
With a group created in the Hue app HA will only send one command to the bridge and it will automatically be propagated to the individual bulbs by the Hue bridge.

one could also create a generic or per group Off-scene in the CLIP tool, and call that scene on the Hue_group:

Of course, you can also create either a regular, but preferably a light group in HA, and turn off that light group.

not sure if this is what you already did?
if so, there is the occasional glitch, but normally repeating the scene call should help?

Thanks, I’ll try creating it with the clip tool.

I allready made a light group in HA, but still some lights occasionally stay on.
repeating the off command of the light group doesnt help much

did you already try and create a ‘zone’ in your hue app? this’ll create a ‘room’ in HA, and you can call that too, letting the Hue hub take care of the action. Seems to be working very nicely in my setup, better than manually created groups, or even light groups.

  1. In HA, create a scene like “XMasLights Off”
  2. Select as entity the HUE Zone (e.g. XMasLights)
  3. Save that scene
  4. Now you can create an automation with Action Type “Scene”
  5. Select your created scene “Lights Off” and your’re done.

It certainly works the other way as well, if you create a scene “XMasLights ON” :wink:

This is the way. The “room” or “zone” in hue will be available in home assitant:
light.living_room for example. It will use 1 zigbee command from the hue bridge and all lights will turn off at the same time.

I fixed it by going to Settings → Devices & Services and then the “integration” tab
Click on the “Philips Hue” (not on the x devices, but above that).
Click on “Configure”, now you can ignore connectivity status for given devices. Select the Osram entities, this fixed for me the issue with my lights (led strip)