From 8808202ea282bc6e13c6adda7b99efe67b465942 Mon Sep 17 00:00:00 2001 From: Georgi Gardev Date: Wed, 13 Oct 2021 22:11:32 +0300 Subject: [PATCH] Improve guest bedroom config --- .../hallway_dashboard/at_home_dashboard.yaml | 28 +++++++++++++++++++ .../coming_home_dashboard.yaml | 4 +++ .../home_dashboard/preferences_dashboard.yaml | 18 ++++++------ .../modules/lighting/setup/groups.yaml | 1 + config/ui-lovelace.yaml | 2 +- 5 files changed, 43 insertions(+), 10 deletions(-) diff --git a/config/lovelace/hallway_dashboard/at_home_dashboard.yaml b/config/lovelace/hallway_dashboard/at_home_dashboard.yaml index a3dcacb..3c7fa22 100644 --- a/config/lovelace/hallway_dashboard/at_home_dashboard.yaml +++ b/config/lovelace/hallway_dashboard/at_home_dashboard.yaml @@ -166,6 +166,30 @@ card: - width: 60px - font-size: 13px + - type: custom:decluttering-card + template: v3_section_title + variables: + - title: "People" + - type: horizontal-stack + cards: + - type: custom:button-card + template: v3_xs_button + entity: binary_sensor.georgi_home + name: Georgi home? + tap_action: + action: call-service + service: input_boolean.toggle + service_data: + entity_id: input_boolean.georgi_home + - type: custom:button-card + template: v3_xs_button + entity: binary_sensor.player_2_home + name: Player 2 home? + tap_action: + action: call-service + service: input_boolean.toggle + service_data: + entity_id: input_boolean.player_2_home # Column 2 - type: vertical-stack cards: @@ -225,6 +249,10 @@ card: template: v3_tablet_button entity: light.hallway_entrance name: Entrance + - type: custom:button-card + template: v3_tablet_button + entity: light.light_lohas_6 + name: G. Bedroom - type: custom:decluttering-card template: v3_section_title diff --git a/config/lovelace/hallway_dashboard/coming_home_dashboard.yaml b/config/lovelace/hallway_dashboard/coming_home_dashboard.yaml index 2b1be3b..157599b 100644 --- a/config/lovelace/hallway_dashboard/coming_home_dashboard.yaml +++ b/config/lovelace/hallway_dashboard/coming_home_dashboard.yaml @@ -216,6 +216,10 @@ card: template: v3_tablet_button entity: light.hallway_entrance name: Entrance + - type: custom:button-card + template: v3_tablet_button + entity: light.light_lohas_6 + name: G. Bedroom - type: custom:decluttering-card template: v3_section_title diff --git a/config/lovelace/home_dashboard/preferences_dashboard.yaml b/config/lovelace/home_dashboard/preferences_dashboard.yaml index 705b53e..6c38cd3 100644 --- a/config/lovelace/home_dashboard/preferences_dashboard.yaml +++ b/config/lovelace/home_dashboard/preferences_dashboard.yaml @@ -59,23 +59,23 @@ cards: - type: custom:button-card template: v3_button - name: Guests - entity: input_boolean.guest_mode - - type: custom:button-card - template: v3_button - entity: input_boolean.simulation_mode - name: Simulation + entity: binary_sensor.pi_hole_enabled + name: Pi-Hole + icon: mdi:pi-hole - type: custom:button-card template: v3_button entity: switch.mercury_home_mode name: Mercury + - type: custom:button-card + template: v3_button + entity: input_boolean.simulation_mode + name: Simulation - type: horizontal-stack cards: - type: custom:button-card template: v3_button - entity: binary_sensor.pi_hole_enabled - name: Pi-Hole - icon: mdi:pi-hole + name: Guests + entity: input_boolean.guest_mode - type: custom:button-card template: v3_button entity: input_boolean.guest_bedroom diff --git a/config/packages/modules/lighting/setup/groups.yaml b/config/packages/modules/lighting/setup/groups.yaml index 70c06f7..b125358 100644 --- a/config/packages/modules/lighting/setup/groups.yaml +++ b/config/packages/modules/lighting/setup/groups.yaml @@ -168,6 +168,7 @@ light: - light.master_bedroom - light.kitchen - light.hallway + - light.light_lohas_6 automation: - alias: Lighting ยท Sync Kitchen Main states diff --git a/config/ui-lovelace.yaml b/config/ui-lovelace.yaml index a17bbdc..5658dd4 100644 --- a/config/ui-lovelace.yaml +++ b/config/ui-lovelace.yaml @@ -4,7 +4,7 @@ popup_cards: !include lovelace/popup_cards.yaml swipe_nav: swipe_amount: 30 - skip_tabs: 5 + skip_tabs: 6 kiosk_mode: hide_overflow: true