Group Light and Switches

Use this instead if you have other entity that is not light-

group:
  living_room_lights:
    name: Living Room Lights
    entities:
      - light.bulb01
      - light.bulb02
      - light.bulb03
      - switch.plug2

If you want to use automation to turn it ON/OFF, use the call service of homeassistant.turn_on or homeassistant.turn_off.

5 Likes