Add new sensors to dashboards

This commit is contained in:
2026-03-07 01:47:53 -05:00
parent c8f2c9dd33
commit 28ab60966c
3 changed files with 229 additions and 33 deletions
+25
View File
@@ -496,6 +496,26 @@ views:
state_map: state_map:
'on': Open 'on': Open
'off': Closed '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 - entity: sensor.living_room_windows_open
name: Living Room Windows name: Living Room Windows
- type: grid - type: grid
@@ -543,6 +563,11 @@ views:
- sensor.downstairs_bathroom_window_1_battery - sensor.downstairs_bathroom_window_1_battery
- sensor.downstairs_bathroom_window_2_battery - sensor.downstairs_bathroom_window_2_battery
- sensor.upstairs_bathroom_window_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})' - name: 'Glass Break Sensors (min: {min}%, count: {count})'
secondary_info: Battery levels {range}% secondary_info: Battery levels {range}%
icon: mdi:image-broken-variant icon: mdi:image-broken-variant
+44
View File
@@ -1734,6 +1734,14 @@ views:
- type: entities - type: entities
entities: entities:
- entity: input_select.upstairs_hallway_scenes - 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 - type: glance
show_name: true show_name: true
show_icon: true show_icon: true
@@ -1909,6 +1917,14 @@ views:
case: first case: first
- entity: input_select.upstairs_bathroom_scenes - entity: input_select.upstairs_bathroom_scenes
show_header_toggle: false 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 - type: glance
show_name: true show_name: true
show_icon: true show_icon: true
@@ -2125,6 +2141,16 @@ views:
name: Compressor name: Compressor
- entity: binary_sensor.master_bedroom_aircon_filter_alert - entity: binary_sensor.master_bedroom_aircon_filter_alert
name: Filter 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 - type: glance
show_name: true show_name: true
show_icon: true show_icon: true
@@ -2307,6 +2333,16 @@ views:
case: first case: first
- entity: input_select.kallen_bedroom_scenes - entity: input_select.kallen_bedroom_scenes
show_header_toggle: false 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 - type: glance
show_name: true show_name: true
show_icon: true show_icon: true
@@ -2523,6 +2559,14 @@ views:
- type: entities - type: entities
entities: entities:
- entity: input_select.emma_bedroom_scenes - 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 - type: glance
show_name: true show_name: true
show_icon: true show_icon: true
+127
View File
@@ -2549,17 +2549,20 @@ views:
data: data:
option: Adaptive option: Adaptive
sub_button: sub_button:
main:
- entity: input_select.master_bedroom_scenes - entity: input_select.master_bedroom_scenes
name: Scenes name: Scenes
tap_action: tap_action:
action: toggle action: toggle
show_name: false show_name: false
icon: mdi:palette icon: mdi:palette
sub_button_type: select
- entity: switch.master_bedroom_motion_lighting - entity: switch.master_bedroom_motion_lighting
name: Motion Lighting name: Motion Lighting
icon: mdi:motion-sensor icon: mdi:motion-sensor
tap_action: tap_action:
action: toggle action: toggle
bottom: []
modules: modules:
- default - default
- type: custom:bubble-card - type: custom:bubble-card
@@ -2777,6 +2780,24 @@ views:
- name: Occupied - name: Occupied
- entity: binary_sensor.master_bedroom_occupied - entity: binary_sensor.master_bedroom_occupied
- color: accent-color - 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 - type: custom:streamline-card
template: popup_timer_card template: popup_timer_card
variables: variables:
@@ -2811,16 +2832,19 @@ views:
data: data:
option: Adaptive option: Adaptive
sub_button: sub_button:
main:
- entity: input_select.kallen_bedroom_scenes - entity: input_select.kallen_bedroom_scenes
name: Scenes name: Scenes
tap_action: tap_action:
action: toggle action: toggle
show_name: false show_name: false
icon: mdi:palette icon: mdi:palette
sub_button_type: select
- entity: switch.kallen_bedroom_motion_lighting - entity: switch.kallen_bedroom_motion_lighting
name: Motion Lighting name: Motion Lighting
tap_action: tap_action:
action: toggle action: toggle
bottom: []
- type: custom:bubble-card - type: custom:bubble-card
card_type: separator card_type: separator
name: Lights name: Lights
@@ -2964,6 +2988,24 @@ views:
- name: Occupied - name: Occupied
- entity: binary_sensor.kallen_bedroom_occupied - entity: binary_sensor.kallen_bedroom_occupied
- color: accent-color - 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 - type: custom:streamline-card
template: popup_timer_card template: popup_timer_card
variables: variables:
@@ -2993,18 +3035,21 @@ views:
hold_action: hold_action:
action: more-info action: more-info
sub_button: sub_button:
main:
- entity: input_select.emma_bedroom_scenes - entity: input_select.emma_bedroom_scenes
name: Scenes name: Scenes
tap_action: tap_action:
action: toggle action: toggle
show_name: false show_name: false
icon: mdi:palette icon: mdi:palette
sub_button_type: select
- entity: switch.emma_bedroom_motion_lighting - entity: switch.emma_bedroom_motion_lighting
name: Motion Lighting name: Motion Lighting
tap_action: tap_action:
action: toggle action: toggle
hold_action: hold_action:
action: more-info action: more-info
bottom: []
modules: modules:
- default - default
- type: custom:bubble-card - type: custom:bubble-card
@@ -3200,6 +3245,20 @@ views:
- name: Occupied - name: Occupied
- entity: binary_sensor.emma_bedroom_occupied - entity: binary_sensor.emma_bedroom_occupied
- color: accent-color - 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 - type: custom:streamline-card
template: popup_timer_card template: popup_timer_card
variables: variables:
@@ -3256,6 +3315,20 @@ views:
- name: Back - name: Back
- entity: binary_sensor.back_door - entity: binary_sensor.back_door
- color: error-color - 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 - type: custom:bubble-card
card_type: separator card_type: separator
name: Living Room name: Living Room
@@ -3412,6 +3485,60 @@ views:
- color: error-color - color: error-color
- type: custom:bubble-card - type: custom:bubble-card
card_type: empty_column 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 - type: vertical-stack
cards: cards:
- type: custom:bubble-card - type: custom:bubble-card