From 287e633f22a01c21f45d821262a769c8e1dcc5a6 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Wed, 25 Mar 2020 22:19:52 +0200 Subject: [PATCH] Add all lights to home screen --- config/lovelace/00_home.yaml | 37 +++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/config/lovelace/00_home.yaml b/config/lovelace/00_home.yaml index 345db12..57f21d9 100644 --- a/config/lovelace/00_home.yaml +++ b/config/lovelace/00_home.yaml @@ -8,8 +8,14 @@ cards: cards: - type: glance title: Lights - show_header_toggle: false entities: + - entity: light.all_lights + name: All + tap_action: + action: call-service + service: light.toggle + service_data: + entity_id: light.all_lights - entity: light.living_room_main_lights name: Living room tap_action: @@ -23,12 +29,41 @@ cards: service: light.toggle service_data: entity_id: light.pc + - entity: light.master_bedroom_main_lights + name: Bedroom + tap_action: + action: call-service + service: light.toggle + service_data: + entity_id: light.master_bedroom_main_lights - entity: light.bedside_light + name: Bedside tap_action: action: call-service service: light.toggle service_data: entity_id: light.bedside_light + - entity: light.kitchen_main_lights + name: Kitchen + tap_action: + action: call-service + service: light.toggle + service_data: + entity_id: light.kitchen_main_lights + - entity: light.hallway_entrance_lights + name: Entrance + tap_action: + action: call-service + service: light.toggle + service_data: + entity_id: light.hallway_entrance_lights + - entity: light.hallway_main_lights + name: Hallway + tap_action: + action: call-service + service: light.toggle + service_data: + entity_id: light.hallway_main_lights - type: entities title: Devices