From 28ab60966cd0dcc0eac569937272276f0a81d06f Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sat, 7 Mar 2026 01:47:53 -0500 Subject: [PATCH] Add new sensors to dashboards --- admin_dashboard.yaml | 25 ++++++ main_dashboard.yaml | 44 ++++++++++ mobile_dashboard.yaml | 193 ++++++++++++++++++++++++++++++++++-------- 3 files changed, 229 insertions(+), 33 deletions(-) diff --git a/admin_dashboard.yaml b/admin_dashboard.yaml index 81ccc69..3e49e5a 100644 --- a/admin_dashboard.yaml +++ b/admin_dashboard.yaml @@ -496,6 +496,26 @@ views: state_map: 'on': Open 'off': Closed + - entity: binary_sensor.emma_bedroom_window + state_map: + 'on': Open + 'off': Closed + - entity: binary_sensor.kallen_bedroom_window_1 + state_map: + 'on': Open + 'off': Closed + - entity: binary_sensor.kallen_bedroom_window_2 + state_map: + 'on': Open + 'off': Closed + - entity: binary_sensor.master_bedroom_window_1 + state_map: + 'on': Open + 'off': Closed + - entity: binary_sensor.master_bedroom_window_2 + state_map: + 'on': Open + 'off': Closed - entity: sensor.living_room_windows_open name: Living Room Windows - type: grid @@ -543,6 +563,11 @@ views: - sensor.downstairs_bathroom_window_1_battery - sensor.downstairs_bathroom_window_2_battery - sensor.upstairs_bathroom_window_battery + - sensor.master_bedroom_window_1_battery + - sensor.master_bedroom_window_2_battery + - sensor.kallen_bedroom_window_1_battery + - sensor.kallen_bedroom_window_2_battery + - sensor.emma_bedroom_window_battery - name: 'Glass Break Sensors (min: {min}%, count: {count})' secondary_info: Battery levels {range}% icon: mdi:image-broken-variant diff --git a/main_dashboard.yaml b/main_dashboard.yaml index b7c9f0c..c141d5d 100644 --- a/main_dashboard.yaml +++ b/main_dashboard.yaml @@ -1734,6 +1734,14 @@ views: - type: entities entities: - entity: input_select.upstairs_hallway_scenes + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.stairway_window_upper + name: SW2 - type: glance show_name: true show_icon: true @@ -1909,6 +1917,14 @@ views: case: first - entity: input_select.upstairs_bathroom_scenes show_header_toggle: false + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.upstairs_bathroom_window + name: Window - type: glance show_name: true show_icon: true @@ -2125,6 +2141,16 @@ views: name: Compressor - entity: binary_sensor.master_bedroom_aircon_filter_alert name: Filter + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.master_bedroom_window_1 + name: Window 1 + - entity: binary_sensor.master_bedroom_window_2 + name: Window 2 - type: glance show_name: true show_icon: true @@ -2307,6 +2333,16 @@ views: case: first - entity: input_select.kallen_bedroom_scenes show_header_toggle: false + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.kallen_bedroom_window_1 + name: Window 1 + - entity: binary_sensor.kallen_bedroom_window_2 + name: Window 2 - type: glance show_name: true show_icon: true @@ -2523,6 +2559,14 @@ views: - type: entities entities: - entity: input_select.emma_bedroom_scenes + - type: glance + show_name: true + show_icon: true + show_state: true + state_color: true + entities: + - entity: binary_sensor.emma_bedroom_window + name: Window - type: glance show_name: true show_icon: true diff --git a/mobile_dashboard.yaml b/mobile_dashboard.yaml index 29c759e..716a0f0 100644 --- a/mobile_dashboard.yaml +++ b/mobile_dashboard.yaml @@ -2549,17 +2549,20 @@ views: data: option: Adaptive sub_button: - - entity: input_select.master_bedroom_scenes - name: Scenes - tap_action: - action: toggle - show_name: false - icon: mdi:palette - - entity: switch.master_bedroom_motion_lighting - name: Motion Lighting - icon: mdi:motion-sensor - tap_action: - action: toggle + main: + - entity: input_select.master_bedroom_scenes + name: Scenes + tap_action: + action: toggle + show_name: false + icon: mdi:palette + sub_button_type: select + - entity: switch.master_bedroom_motion_lighting + name: Motion Lighting + icon: mdi:motion-sensor + tap_action: + action: toggle + bottom: [] modules: - default - type: custom:bubble-card @@ -2777,6 +2780,24 @@ views: - name: Occupied - entity: binary_sensor.master_bedroom_occupied - color: accent-color + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + name: Window 1 + entity: binary_sensor.master_bedroom_window_1 + color: error-color + - type: custom:streamline-card + template: contact_sensor_button + variables: + name: Window 2 + entity: binary_sensor.master_bedroom_window_2 + color: error-color - type: custom:streamline-card template: popup_timer_card variables: @@ -2811,16 +2832,19 @@ views: data: option: Adaptive sub_button: - - entity: input_select.kallen_bedroom_scenes - name: Scenes - tap_action: - action: toggle - show_name: false - icon: mdi:palette - - entity: switch.kallen_bedroom_motion_lighting - name: Motion Lighting - tap_action: - action: toggle + main: + - entity: input_select.kallen_bedroom_scenes + name: Scenes + tap_action: + action: toggle + show_name: false + icon: mdi:palette + sub_button_type: select + - entity: switch.kallen_bedroom_motion_lighting + name: Motion Lighting + tap_action: + action: toggle + bottom: [] - type: custom:bubble-card card_type: separator name: Lights @@ -2964,6 +2988,24 @@ views: - name: Occupied - entity: binary_sensor.kallen_bedroom_occupied - color: accent-color + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + name: Window 1 + entity: binary_sensor.kallen_bedroom_window_1 + color: error-color + - type: custom:streamline-card + template: contact_sensor_button + variables: + name: Window 2 + entity: binary_sensor.kallen_bedroom_window_2 + color: error-color - type: custom:streamline-card template: popup_timer_card variables: @@ -2993,18 +3035,21 @@ views: hold_action: action: more-info sub_button: - - entity: input_select.emma_bedroom_scenes - name: Scenes - tap_action: - action: toggle - show_name: false - icon: mdi:palette - - entity: switch.emma_bedroom_motion_lighting - name: Motion Lighting - tap_action: - action: toggle - hold_action: - action: more-info + main: + - entity: input_select.emma_bedroom_scenes + name: Scenes + tap_action: + action: toggle + show_name: false + icon: mdi:palette + sub_button_type: select + - entity: switch.emma_bedroom_motion_lighting + name: Motion Lighting + tap_action: + action: toggle + hold_action: + action: more-info + bottom: [] modules: - default - type: custom:bubble-card @@ -3200,6 +3245,20 @@ views: - name: Occupied - entity: binary_sensor.emma_bedroom_occupied - color: accent-color + - type: custom:bubble-card + card_type: separator + name: Security + icon: mdi:security + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + name: Window + entity: binary_sensor.emma_bedroom_window + color: error-color + - type: custom:bubble-card + card_type: empty-column - type: custom:streamline-card template: popup_timer_card variables: @@ -3256,6 +3315,20 @@ views: - name: Back - entity: binary_sensor.back_door - color: error-color + - type: custom:bubble-card + card_type: separator + name: Basement Studio + icon: mdi:twitch + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Door + - entity: binary_sensor.basement_studio_door + - color: error-color + - type: custom:bubble-card + card_type: empty-column - type: custom:bubble-card card_type: separator name: Living Room @@ -3412,6 +3485,60 @@ views: - color: error-color - type: custom:bubble-card card_type: empty_column + - type: custom:bubble-card + card_type: separator + name: Master Bedroom + icon: mdi:bed + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Window + - entity: binary_sensor.master_bedroom_window_1 + - color: error-color + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Window 1 + - entity: binary_sensor.master_bedroom_window_2 + - color: error-color + - type: custom:bubble-card + card_type: separator + name: Kallen Bedroom + icon: mdi:bunk-bed + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Window 1 + - entity: binary_sensor.kallen_bedroom_window_1 + - color: error-color + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Window 2 + - entity: binary_sensor.kallen_bedroom_window_2 + - color: error-color + - type: custom:bubble-card + card_type: separator + name: Emma Bedroom + icon: hue:room-nursery + - type: horizontal-stack + cards: + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Door + - entity: binary_sensor.emma_bedroom_door + - color: error-color + - type: custom:streamline-card + template: contact_sensor_button + variables: + - name: Window + - entity: binary_sensor.emma_bedroom_window + - color: error-color - type: vertical-stack cards: - type: custom:bubble-card