KBrygger
(Kaspar Brygger)
1
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
m0wlheld
(Christoph Dahlen)
2
Include entity group.all_lights in your UI and make it visible by customization. The group should provide an appropriate option.
will
(Will)
3
Are you looking to add something like this?
![17%20PM](https://community-assets.home-assistant.io/original/3X/3/8/38ee5eef1f4c3aae0f840dcb0274797179d9d0d6.png)
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
KBrygger
(Kaspar Brygger)
4
Precise like this. Thanks for your reply ![:slight_smile: :slight_smile:](https://community.home-assistant.io/images/emoji/twitter/slight_smile.png?v=9)