From f86fc58f5fe5a0d46d93dea451fe5545887aec26 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 1 Mar 2025 03:17:33 -0500 Subject: [PATCH] Add controls for Do Not Enter mode in basement studio tm24fan8/Home-Assistant-Configs#218 --- main_dashboard.yaml | 8 ++++---- mobile_dashboard.yaml | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/main_dashboard.yaml b/main_dashboard.yaml index fe93109..4310b40 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -2669,12 +2669,12 @@ views: unavailable: mdi:map-marker-question state: case: first - - entity: input_boolean.white_noise_basement - name: White Noise + - entity: input_boolean.do_not_enter_basement_studio + name: Do Not Enter layout: icon|name_state state_icons: - 'on': mdi:volume-high - 'off': mdi:volume-off + 'on': mdi:minus-circle + 'off': mdi:minus-circle-off-outline unavailable: mdi:map-marker-question state: case: first diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index 0adf7a0..2597305 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -1550,6 +1550,24 @@ views: button_action: double_tap_action: action: none + - type: horizontal-stack + cards: + - type: custom:bubble-card + card_type: button + entity: input_boolean.do_not_enter_basement_studio + name: Do Not Enter + show_state: true + tap_action: + action: toggle + double_tap_action: + action: none + hold_action: + action: more-info + button_action: + double_tap_action: + action: none + - type: custom:bubble-card + card_type: empty-column - type: custom:bubble-card card_type: separator name: Status