Light groups only on when all lights are on

I have a light group setup in the configuration.yaml and it works as expected except for one thing. I want the group to be “on” only if ALL the lights in the group are on. Currently, if I separately turn on 1 or 2 of the lights in the group, then the whole group already shows “on”. Is there a way to change this?

light:
  - platform: group
    name: Lamps
    entities:
      - light.bar_lamp
      - light.can_lights_dimmer
      - light.dining_room_lamp
      - light.entryway_lamp
      - light.kitchen_lamp
      - light.living_room_lamp
      - light.piano_room_lamp

Pretty sure this is expected behaviour for a group. Others can confirm.

You can achieve the desired behavior with a Template Light by creating the value_template to suit.

You could use the Group integration, instead of the light group platform. For this you can set the option all: true to get your desired behaviour.

The only problem is that you will only be able to change the group state (on/off) rather than colour and brightness.

1 Like