From ce08224650fab595fc7b463c8453613397f246c4 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Fri, 19 May 2023 20:18:33 +0300 Subject: [PATCH] Add bedtime mode on tablet dashboard --- .../lovelace/hallway_dashboard/at_home_dashboard.yaml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/config/lovelace/hallway_dashboard/at_home_dashboard.yaml b/config/lovelace/hallway_dashboard/at_home_dashboard.yaml index 2a4df7d..e989d5b 100644 --- a/config/lovelace/hallway_dashboard/at_home_dashboard.yaml +++ b/config/lovelace/hallway_dashboard/at_home_dashboard.yaml @@ -106,13 +106,18 @@ card: entity: input_boolean.guest_mode tap_action: action: toggle + - type: custom:button-card + template: [v3_button, v3_tablet_button] + entity: input_select.bedroom_mode + name: Mode + icon: mdi:bed + tap_action: + action: call-service + service: script.toggle_bedroom_mode - type: custom:button-card template: [v3_button_tv, v3_tablet_button] entity: media_player.living_room_tv name: TV - - type: custom:button-card - template: v3_tablet_button - entity: switch.cadmium - type: horizontal-stack cards: - type: custom:button-card