Turn off all lights

Maybe a simple answer, maybe not.

But how can I get a toogle switch on my front view with just one action; turn off all lights? Nothing else to do but just that.

Is it an automation or “just” a function that is implemented into HA?

Regards
Kaspar

1 Like

Include entity group.all_lights in your UI and make it visible by customization. The group should provide an appropriate option.

Are you looking to add something like this?

17%20PM

This is driven by a group like this:

inside_lights_except_bedroom:
  name: All Inside Lights Except Bedroom
  view: no
  entities:
  - group.hallways_lights
  - group.foyer_lights
  - group.master_bedroom_lights
  - group.master_bathroom_lights_no_fan
  - group.basement_lights
  - group.kitchen_lights
  - fan.kitchen
  - group.family_room_lights
  - group.dining_room_lights
  - group.living_room_lights
  - group.side_entry_lights
  - group.office_lights

inside_lights_all:
  name: All Inside Lights
  view: no
  entities:
    - group.inside_lights_except_bedroom
    - group.guest_bedroom_lights
1 Like

Precise like this. Thanks for your reply :slight_smile: