First attempt
This commit is contained in:
@@ -276,7 +276,8 @@ streamline_templates:
|
|||||||
- default
|
- default
|
||||||
- state_color_button
|
- state_color_button
|
||||||
state_color_button:
|
state_color_button:
|
||||||
color: '[[color]]'
|
on_color: '[[on_color]]'
|
||||||
|
off_color: '[[off_color]]'
|
||||||
state_color_button_nav:
|
state_color_button_nav:
|
||||||
defaults:
|
defaults:
|
||||||
- name: ''
|
- name: ''
|
||||||
@@ -309,7 +310,8 @@ streamline_templates:
|
|||||||
- default
|
- default
|
||||||
- state_color_button
|
- state_color_button
|
||||||
state_color_button:
|
state_color_button:
|
||||||
color: '[[color]]'
|
on_color: '[[on_color]]'
|
||||||
|
off_color: '[[off_color]]'
|
||||||
contact_sensor_button:
|
contact_sensor_button:
|
||||||
defaults:
|
defaults:
|
||||||
- name: ''
|
- name: ''
|
||||||
@@ -339,7 +341,8 @@ streamline_templates:
|
|||||||
- state_color_button
|
- state_color_button
|
||||||
- get_state_attribute
|
- get_state_attribute
|
||||||
state_color_button:
|
state_color_button:
|
||||||
color: '[[color]]'
|
on_color: '[[on_color]]'
|
||||||
|
off_color: '[[off_color]]'
|
||||||
get_state_attribute:
|
get_state_attribute:
|
||||||
- entity: '[[entity]]'
|
- entity: '[[entity]]'
|
||||||
- entity: '[[entity]]_tamper'
|
- entity: '[[entity]]_tamper'
|
||||||
@@ -623,7 +626,8 @@ views:
|
|||||||
- entity: binary_sensor.security_faults
|
- entity: binary_sensor.security_faults
|
||||||
- navigation_path: '#security'
|
- navigation_path: '#security'
|
||||||
- columns: 2
|
- columns: 2
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- show_state: false
|
- show_state: false
|
||||||
grid_options:
|
grid_options:
|
||||||
columns: 6
|
columns: 6
|
||||||
@@ -1653,13 +1657,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.basement_studio_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.basement_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
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -1859,19 +1865,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Front Motion
|
name: Front Motion
|
||||||
entity: binary_sensor.living_room_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
name: Back Motion
|
name: Back Motion
|
||||||
entity: binary_sensor.living_room_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
name: Occupied
|
name: Occupied
|
||||||
entity: binary_sensor.living_room_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
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -1888,7 +1897,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Door
|
name: Door
|
||||||
entity: binary_sensor.front_door
|
entity: binary_sensor.front_door
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -1900,19 +1910,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Front 1
|
name: Front 1
|
||||||
entity: binary_sensor.front_window_1
|
entity: binary_sensor.front_window_1
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Front 2
|
name: Front 2
|
||||||
entity: binary_sensor.front_window_2
|
entity: binary_sensor.front_window_2
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Front 3
|
name: Front 3
|
||||||
entity: binary_sensor.front_window_3
|
entity: binary_sensor.front_window_3
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -1920,19 +1933,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Side 1
|
name: Side 1
|
||||||
entity: binary_sensor.side_window_1
|
entity: binary_sensor.side_window_1
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Side 2
|
name: Side 2
|
||||||
entity: binary_sensor.side_window_2
|
entity: binary_sensor.side_window_2
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Side 3
|
name: Side 3
|
||||||
entity: binary_sensor.side_window_3
|
entity: binary_sensor.side_window_3
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -1940,19 +1956,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Side 4
|
name: Side 4
|
||||||
entity: binary_sensor.side_window_4
|
entity: binary_sensor.side_window_4
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Back 1
|
name: Back 1
|
||||||
entity: binary_sensor.back_window_1
|
entity: binary_sensor.back_window_1
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Back 2
|
name: Back 2
|
||||||
entity: binary_sensor.back_window_2
|
entity: binary_sensor.back_window_2
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -2029,13 +2048,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.downstairs_bathroom_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.downstairs_bathroom_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -2047,13 +2068,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Back
|
name: Back
|
||||||
entity: binary_sensor.downstairs_bathroom_window_1
|
entity: binary_sensor.downstairs_bathroom_window_1
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Side
|
name: Side
|
||||||
entity: binary_sensor.downstairs_bathroom_window_2
|
entity: binary_sensor.downstairs_bathroom_window_2
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -2143,13 +2166,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Big Window
|
name: Big Window
|
||||||
entity: binary_sensor.kitchen_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
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Sink Window
|
name: Sink Window
|
||||||
entity: binary_sensor.kitchen_sink_window
|
entity: binary_sensor.kitchen_sink_window
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -2216,13 +2241,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.mud_room_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.mud_room_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -2234,13 +2261,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Back Door
|
name: Back Door
|
||||||
entity: binary_sensor.back_door
|
entity: binary_sensor.back_door
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Window
|
name: Window
|
||||||
entity: binary_sensor.mud_room_window
|
entity: binary_sensor.mud_room_window
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -2309,13 +2338,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.stairwell_bottom_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.stairwell_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -2327,7 +2358,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Window
|
name: Window
|
||||||
entity: binary_sensor.stairway_window_lower
|
entity: binary_sensor.stairway_window_lower
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -2406,13 +2438,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.stairwell_top_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.upstairs_hallway_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -2424,7 +2458,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Window
|
name: Window
|
||||||
entity: binary_sensor.stairway_window_upper
|
entity: binary_sensor.stairway_window_upper
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -2530,13 +2565,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.upstairs_bathroom_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.upstairs_bathroom_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -2548,7 +2585,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Window
|
name: Window
|
||||||
entity: binary_sensor.upstairs_bathroom_window
|
entity: binary_sensor.upstairs_bathroom_window
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -2815,13 +2853,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.master_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.master_bedroom_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -2833,13 +2873,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Window 1
|
name: Window 1
|
||||||
entity: binary_sensor.master_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Window 2
|
name: Window 2
|
||||||
entity: binary_sensor.master_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -3023,13 +3065,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.kallen_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.kallen_bedroom_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -3041,13 +3085,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Window 1
|
name: Window 1
|
||||||
entity: binary_sensor.kallen_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Window 2
|
name: Window 2
|
||||||
entity: binary_sensor.kallen_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -3325,13 +3371,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.emma_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: state_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.emma_bedroom_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@@ -3343,13 +3391,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
name: Door
|
name: Door
|
||||||
entity: binary_sensor.emma_bedroom_door
|
entity: binary_sensor.emma_bedroom_door
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
name: Window
|
name: Window
|
||||||
entity: binary_sensor.emma_bedroom_window
|
entity: binary_sensor.emma_bedroom_window
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@@ -3399,13 +3449,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Front
|
- name: Front
|
||||||
- entity: binary_sensor.front_door
|
- entity: binary_sensor.front_door
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back
|
- name: Back
|
||||||
- entity: binary_sensor.back_door
|
- entity: binary_sensor.back_door
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Basement Studio
|
name: Basement Studio
|
||||||
@@ -3417,7 +3469,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Door
|
- name: Door
|
||||||
- entity: binary_sensor.basement_studio_door
|
- entity: binary_sensor.basement_studio_door
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -3431,19 +3484,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Front 1
|
- name: Front 1
|
||||||
- entity: binary_sensor.front_window_1
|
- entity: binary_sensor.front_window_1
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 2
|
- name: Front 2
|
||||||
- entity: binary_sensor.front_window_2
|
- entity: binary_sensor.front_window_2
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 3
|
- name: Front 3
|
||||||
- entity: binary_sensor.front_window_3
|
- entity: binary_sensor.front_window_3
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -3451,19 +3507,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Side 1
|
- name: Side 1
|
||||||
- entity: binary_sensor.side_window_1
|
- entity: binary_sensor.side_window_1
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 2
|
- name: Side 2
|
||||||
- entity: binary_sensor.side_window_2
|
- entity: binary_sensor.side_window_2
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 3
|
- name: Side 3
|
||||||
- entity: binary_sensor.side_window_3
|
- entity: binary_sensor.side_window_3
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
@@ -3471,19 +3530,22 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Side 4
|
- name: Side 4
|
||||||
- entity: binary_sensor.side_window_4
|
- entity: binary_sensor.side_window_4
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back 1
|
- name: Back 1
|
||||||
- entity: binary_sensor.back_window_1
|
- entity: binary_sensor.back_window_1
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back 2
|
- name: Back 2
|
||||||
- entity: binary_sensor.back_window_2
|
- entity: binary_sensor.back_window_2
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Stairwell
|
name: Stairwell
|
||||||
@@ -3495,7 +3557,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.stairway_window_lower
|
- entity: binary_sensor.stairway_window_lower
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -3509,13 +3572,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Big
|
- name: Big
|
||||||
- entity: binary_sensor.kitchen_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
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Sink
|
- name: Sink
|
||||||
- entity: binary_sensor.kitchen_sink_window
|
- entity: binary_sensor.kitchen_sink_window
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Mud Room
|
name: Mud Room
|
||||||
@@ -3527,7 +3592,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.mud_room_window
|
- entity: binary_sensor.mud_room_window
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty-column
|
card_type: empty-column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -3541,13 +3607,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Back
|
- name: Back
|
||||||
- entity: binary_sensor.downstairs_bathroom_window_1
|
- entity: binary_sensor.downstairs_bathroom_window_1
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side
|
- name: Side
|
||||||
- entity: binary_sensor.downstairs_bathroom_window_2
|
- entity: binary_sensor.downstairs_bathroom_window_2
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Upstairs Hallway
|
name: Upstairs Hallway
|
||||||
@@ -3559,7 +3627,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.stairway_window_upper
|
- entity: binary_sensor.stairway_window_upper
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty_column
|
card_type: empty_column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -3573,7 +3642,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.upstairs_bathroom_window
|
- entity: binary_sensor.upstairs_bathroom_window
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty_column
|
card_type: empty_column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -3587,13 +3657,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.master_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window 1
|
- name: Window 1
|
||||||
- entity: binary_sensor.master_bedroom_window_2
|
- entity: binary_sensor.master_bedroom_window_2
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Kallen Bedroom
|
name: Kallen Bedroom
|
||||||
@@ -3605,13 +3677,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Window 1
|
- name: Window 1
|
||||||
- entity: binary_sensor.kallen_bedroom_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
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window 2
|
- name: Window 2
|
||||||
- entity: binary_sensor.kallen_bedroom_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
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Emma Bedroom
|
name: Emma Bedroom
|
||||||
@@ -3623,13 +3697,15 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
- name: Door
|
- name: Door
|
||||||
- entity: binary_sensor.emma_bedroom_door
|
- entity: binary_sensor.emma_bedroom_door
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.emma_bedroom_window
|
- entity: binary_sensor.emma_bedroom_window
|
||||||
- color: error-color
|
- on_color: error-color
|
||||||
|
- off_color: bubble-main-background-color
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@@ -6451,7 +6527,8 @@ views:
|
|||||||
variables:
|
variables:
|
||||||
entity: input_boolean.toggle_testing
|
entity: input_boolean.toggle_testing
|
||||||
name: State Color Button
|
name: State Color Button
|
||||||
color: bubble-accent-color
|
on_color: bubble-accent-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
columns: '2'
|
columns: '2'
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: state_color_button_nav
|
template: state_color_button_nav
|
||||||
@@ -6459,14 +6536,16 @@ views:
|
|||||||
entity: input_boolean.toggle_testing
|
entity: input_boolean.toggle_testing
|
||||||
name: State Color Button Nav
|
name: State Color Button Nav
|
||||||
navigation_path: '#security'
|
navigation_path: '#security'
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
columns: '2'
|
columns: '2'
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: contact_sensor_button
|
template: contact_sensor_button
|
||||||
variables:
|
variables:
|
||||||
entity: binary_sensor.side_window_1
|
entity: binary_sensor.side_window_1
|
||||||
name: Contact Sensor Button
|
name: Contact Sensor Button
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
columns: '2'
|
columns: '2'
|
||||||
- type: grid
|
- type: grid
|
||||||
cards:
|
cards:
|
||||||
@@ -6645,7 +6724,8 @@ views:
|
|||||||
- default
|
- default
|
||||||
- state_color_button
|
- state_color_button
|
||||||
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
|
- type: custom:bubble-card
|
||||||
card_type: button
|
card_type: button
|
||||||
button_type: state
|
button_type: state
|
||||||
@@ -6672,7 +6752,8 @@ views:
|
|||||||
- default
|
- default
|
||||||
- state_color_button
|
- state_color_button
|
||||||
state_color_button:
|
state_color_button:
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: button
|
card_type: button
|
||||||
button_type: state
|
button_type: state
|
||||||
@@ -6696,7 +6777,8 @@ views:
|
|||||||
- state_color_button
|
- state_color_button
|
||||||
- get_state_attribute
|
- get_state_attribute
|
||||||
state_color_button:
|
state_color_button:
|
||||||
color: error-color
|
on_color: error-color
|
||||||
|
off_color: bubble-main-background-color
|
||||||
get_state_attribute:
|
get_state_attribute:
|
||||||
- entity: binary_sensor.side_window_1
|
- entity: binary_sensor.side_window_1
|
||||||
- entity: binary_sensor.side_window_1_tamper
|
- entity: binary_sensor.side_window_1_tamper
|
||||||
|
|||||||
Reference in New Issue
Block a user