Set group of Lights off when someone is unavailable

When some light of any group is unavailable the group turns on as you can see.

image
image

Is there any way to change this behavior so that if some group light is not available the group is shown as off?

You can use the ‘all’ variable for groups, see https://www.home-assistant.io/components/group/, to have it turn_on the group if all entities in the group are on.

No, it seems that the behavior is the same and, when there is some “not available”, the group keeps appearing on. :disappointed:

well, maybe post your config for the group so we can check what the issue is?

yep, sorry. Nothing special.

bedroom_lights:
  name: "Bedroom"
  icon: mdi:lightbulb-outline
  all: true
  entities:
    - light.dormitorio_1
    - light.dormitorio_2
    
bathroom_lights:
  name: "Bathroom"
  icon: mdi:lightbulb-outline
  all: true
  entities:
    - light.bano_1
    - light.bano_2