First attempt

This commit is contained in:
2026-03-30 00:21:35 -04:00
parent ece6e505a1
commit 52880870ab

View File

@@ -276,7 +276,8 @@ streamline_templates:
- default
- state_color_button
state_color_button:
color: '[[color]]'
on_color: '[[on_color]]'
off_color: '[[off_color]]'
state_color_button_nav:
defaults:
- name: ''
@@ -309,7 +310,8 @@ streamline_templates:
- default
- state_color_button
state_color_button:
color: '[[color]]'
on_color: '[[on_color]]'
off_color: '[[off_color]]'
contact_sensor_button:
defaults:
- name: ''
@@ -339,7 +341,8 @@ streamline_templates:
- state_color_button
- get_state_attribute
state_color_button:
color: '[[color]]'
on_color: '[[on_color]]'
off_color: '[[off_color]]'
get_state_attribute:
- entity: '[[entity]]'
- entity: '[[entity]]_tamper'
@@ -622,7 +625,8 @@ views:
- entity: binary_sensor.security_faults
- navigation_path: '#security'
- columns: 2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- show_state: false
grid_options:
columns: 6
@@ -1644,13 +1648,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.basement_studio_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.basement_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -1850,19 +1856,22 @@ views:
variables:
name: Front Motion
entity: binary_sensor.living_room_front_motion
color: bubble-accent-color
on_color: bubble-accent-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
name: Back Motion
entity: binary_sensor.living_room_back_motion
color: bubble-accent-color
on_color: bubble-accent-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
name: Occupied
entity: binary_sensor.living_room_occupied
color: bubble-accent-color
on_color: bubble-accent-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -1879,7 +1888,8 @@ views:
variables:
name: Door
entity: binary_sensor.front_door
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:bubble-card
@@ -1891,19 +1901,22 @@ views:
variables:
name: Front 1
entity: binary_sensor.front_window_1
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Front 2
entity: binary_sensor.front_window_2
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Front 3
entity: binary_sensor.front_window_3
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: horizontal-stack
cards:
- type: custom:streamline-card
@@ -1911,19 +1924,22 @@ views:
variables:
name: Side 1
entity: binary_sensor.side_window_1
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Side 2
entity: binary_sensor.side_window_2
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Side 3
entity: binary_sensor.side_window_3
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: horizontal-stack
cards:
- type: custom:streamline-card
@@ -1931,19 +1947,22 @@ views:
variables:
name: Side 4
entity: binary_sensor.side_window_4
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Back 1
entity: binary_sensor.back_window_1
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Back 2
entity: binary_sensor.back_window_2
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: vertical-stack
cards:
- type: custom:bubble-card
@@ -2020,13 +2039,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.downstairs_bathroom_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.downstairs_bathroom_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -2038,13 +2059,15 @@ views:
variables:
name: Back
entity: binary_sensor.downstairs_bathroom_window_1
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Side
entity: binary_sensor.downstairs_bathroom_window_2
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -2134,13 +2157,15 @@ views:
variables:
name: Big Window
entity: binary_sensor.kitchen_big_window
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Sink Window
entity: binary_sensor.kitchen_sink_window
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: vertical-stack
cards:
- type: custom:bubble-card
@@ -2207,13 +2232,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.mud_room_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.mud_room_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -2225,13 +2252,15 @@ views:
variables:
name: Back Door
entity: binary_sensor.back_door
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Window
entity: binary_sensor.mud_room_window
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -2300,13 +2329,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.stairwell_bottom_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.stairwell_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -2318,7 +2349,8 @@ views:
variables:
name: Window
entity: binary_sensor.stairway_window_lower
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:streamline-card
@@ -2397,13 +2429,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.stairwell_top_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.upstairs_hallway_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -2415,7 +2449,8 @@ views:
variables:
name: Window
entity: binary_sensor.stairway_window_upper
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:streamline-card
@@ -2521,13 +2556,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.upstairs_bathroom_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.upstairs_bathroom_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -2539,7 +2576,8 @@ views:
variables:
name: Window
entity: binary_sensor.upstairs_bathroom_window
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:streamline-card
@@ -2801,13 +2839,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.master_bedroom_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.master_bedroom_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -2819,13 +2859,15 @@ views:
variables:
name: Window 1
entity: binary_sensor.master_bedroom_window_1
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Window 2
entity: binary_sensor.master_bedroom_window_2
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -3009,13 +3051,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.kallen_bedroom_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.kallen_bedroom_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -3027,13 +3071,15 @@ views:
variables:
name: Window 1
entity: binary_sensor.kallen_bedroom_window_1
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Window 2
entity: binary_sensor.kallen_bedroom_window_2
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -3301,13 +3347,15 @@ views:
variables:
- name: Motion
- entity: binary_sensor.emma_bedroom_motion
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: state_color_button
variables:
- name: Occupied
- entity: binary_sensor.emma_bedroom_occupied
- color: bubble-accent-color
- on_color: bubble-accent-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Security
@@ -3319,13 +3367,15 @@ views:
variables:
name: Door
entity: binary_sensor.emma_bedroom_door
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
name: Window
entity: binary_sensor.emma_bedroom_window
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:streamline-card
template: popup_timer_card
variables:
@@ -3375,13 +3425,15 @@ views:
variables:
- name: Front
- entity: binary_sensor.front_door
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Back
- entity: binary_sensor.back_door
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Basement Studio
@@ -3393,7 +3445,8 @@ views:
variables:
- name: Door
- entity: binary_sensor.basement_studio_door
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:bubble-card
@@ -3407,19 +3460,22 @@ views:
variables:
- name: Front 1
- entity: binary_sensor.front_window_1
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Front 2
- entity: binary_sensor.front_window_2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Front 3
- entity: binary_sensor.front_window_3
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: horizontal-stack
cards:
- type: custom:streamline-card
@@ -3427,19 +3483,22 @@ views:
variables:
- name: Side 1
- entity: binary_sensor.side_window_1
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Side 2
- entity: binary_sensor.side_window_2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Side 3
- entity: binary_sensor.side_window_3
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: horizontal-stack
cards:
- type: custom:streamline-card
@@ -3447,19 +3506,22 @@ views:
variables:
- name: Side 4
- entity: binary_sensor.side_window_4
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Back 1
- entity: binary_sensor.back_window_1
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Back 2
- entity: binary_sensor.back_window_2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Stairwell
@@ -3471,7 +3533,8 @@ views:
variables:
- name: Window
- entity: binary_sensor.stairway_window_lower
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:bubble-card
@@ -3485,13 +3548,15 @@ views:
variables:
- name: Big
- entity: binary_sensor.kitchen_big_window
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Sink
- entity: binary_sensor.kitchen_sink_window
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Mud Room
@@ -3503,7 +3568,8 @@ views:
variables:
- name: Window
- entity: binary_sensor.mud_room_window
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty-column
- type: custom:bubble-card
@@ -3517,13 +3583,15 @@ views:
variables:
- name: Back
- entity: binary_sensor.downstairs_bathroom_window_1
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Side
- entity: binary_sensor.downstairs_bathroom_window_2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Upstairs Hallway
@@ -3535,7 +3603,8 @@ views:
variables:
- name: Window
- entity: binary_sensor.stairway_window_upper
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty_column
- type: custom:bubble-card
@@ -3549,7 +3618,8 @@ views:
variables:
- name: Window
- entity: binary_sensor.upstairs_bathroom_window
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: empty_column
- type: custom:bubble-card
@@ -3563,13 +3633,15 @@ views:
variables:
- name: Window
- entity: binary_sensor.master_bedroom_window_1
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Window 1
- entity: binary_sensor.master_bedroom_window_2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Kallen Bedroom
@@ -3581,13 +3653,15 @@ views:
variables:
- name: Window 1
- entity: binary_sensor.kallen_bedroom_window_1
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Window 2
- entity: binary_sensor.kallen_bedroom_window_2
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: separator
name: Emma Bedroom
@@ -3599,13 +3673,15 @@ views:
variables:
- name: Door
- entity: binary_sensor.emma_bedroom_door
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: custom:streamline-card
template: contact_sensor_button
variables:
- name: Window
- entity: binary_sensor.emma_bedroom_window
- color: error-color
- on_color: error-color
- off_color: bubble-main-background-color
- type: vertical-stack
cards:
- type: custom:bubble-card
@@ -7223,7 +7299,8 @@ views:
variables:
entity: input_boolean.toggle_testing
name: State Color Button
color: bubble-accent-color
on_color: bubble-accent-color
off_color: bubble-main-background-color
columns: '2'
- type: custom:streamline-card
template: state_color_button_nav
@@ -7231,14 +7308,16 @@ views:
entity: input_boolean.toggle_testing
name: State Color Button Nav
navigation_path: '#security'
color: error-color
on_color: error-color
off_color: bubble-main-background-color
columns: '2'
- type: custom:streamline-card
template: contact_sensor_button
variables:
entity: binary_sensor.side_window_1
name: Contact Sensor Button
color: error-color
on_color: error-color
off_color: bubble-main-background-color
columns: '2'
- type: grid
cards:
@@ -7417,7 +7496,8 @@ views:
- default
- state_color_button
state_color_button:
color: bubble-accent-color
on_color: bubble-accent-color
off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: button
button_type: state
@@ -7444,7 +7524,8 @@ views:
- default
- state_color_button
state_color_button:
color: error-color
on_color: error-color
off_color: bubble-main-background-color
- type: custom:bubble-card
card_type: button
button_type: state
@@ -7468,7 +7549,8 @@ views:
- state_color_button
- get_state_attribute
state_color_button:
color: error-color
on_color: error-color
off_color: bubble-main-background-color
get_state_attribute:
- entity: binary_sensor.side_window_1
- entity: binary_sensor.side_window_1_tamper