State Color Button module replacing security and accent color buttons
This commit is contained in:
@ -196,51 +196,6 @@ streamline_templates:
|
|||||||
show_state: false
|
show_state: false
|
||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
popup_security_button:
|
|
||||||
defaults:
|
|
||||||
- name: ''
|
|
||||||
card:
|
|
||||||
type: custom:bubble-card
|
|
||||||
card_type: button
|
|
||||||
button_type: state
|
|
||||||
entity: '[[entity]]'
|
|
||||||
name: '[[name]]'
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: none
|
|
||||||
button_action:
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: none
|
|
||||||
modules:
|
|
||||||
- default
|
|
||||||
- popup_security_button
|
|
||||||
popup_accent_color_button:
|
|
||||||
defaults:
|
|
||||||
- name: ''
|
|
||||||
card:
|
|
||||||
type: custom:bubble-card
|
|
||||||
card_type: button
|
|
||||||
button_type: state
|
|
||||||
entity: '[[entity]]'
|
|
||||||
name: '[[name]]'
|
|
||||||
show_state: true
|
|
||||||
tap_action:
|
|
||||||
action: more-info
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: none
|
|
||||||
button_action:
|
|
||||||
double_tap_action:
|
|
||||||
action: none
|
|
||||||
hold_action:
|
|
||||||
action: none
|
|
||||||
modules:
|
|
||||||
- default
|
|
||||||
- popup_accent_color_button
|
|
||||||
popup_temperature_button:
|
popup_temperature_button:
|
||||||
defaults:
|
defaults:
|
||||||
- name: ''
|
- name: ''
|
||||||
@ -313,6 +268,32 @@ streamline_templates:
|
|||||||
modules:
|
modules:
|
||||||
- default
|
- default
|
||||||
- popup_timer_card
|
- popup_timer_card
|
||||||
|
state_color_button:
|
||||||
|
defaults:
|
||||||
|
- name: ''
|
||||||
|
card:
|
||||||
|
type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: state
|
||||||
|
entity: '[[entity]]'
|
||||||
|
name: '[[name]]'
|
||||||
|
show_state: true
|
||||||
|
tap_action:
|
||||||
|
action: more-info
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
button_action:
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
modules:
|
||||||
|
- default
|
||||||
|
- state_color_button
|
||||||
|
state_color_button:
|
||||||
|
color: '[[color]]'
|
||||||
views:
|
views:
|
||||||
- title: Home
|
- title: Home
|
||||||
path: home
|
path: home
|
||||||
@ -1398,15 +1379,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
name: Motion
|
- name: Motion
|
||||||
entity: binary_sensor.basement_studio_motion
|
- entity: binary_sensor.basement_studio_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.basement_occupied
|
- entity: binary_sensor.basement_occupied
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -1602,20 +1585,23 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front Motion
|
- name: Front Motion
|
||||||
- entity: binary_sensor.living_room_front_motion
|
- entity: binary_sensor.living_room_front_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -1628,10 +1614,11 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Door
|
- name: Door
|
||||||
- entity: binary_sensor.front_door
|
- entity: binary_sensor.front_door
|
||||||
|
- color: error-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
|
||||||
@ -1639,54 +1626,63 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 1
|
- name: Front 1
|
||||||
- entity: binary_sensor.front_window_1
|
- entity: binary_sensor.front_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 2
|
- name: Front 2
|
||||||
- entity: binary_sensor.front_window_2
|
- entity: binary_sensor.front_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 3
|
- name: Front 3
|
||||||
- entity: binary_sensor.front_window_3
|
- entity: binary_sensor.front_window_3
|
||||||
|
- color: error-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 1
|
- name: Side 1
|
||||||
- entity: binary_sensor.side_window_1
|
- entity: binary_sensor.side_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 2
|
- name: Side 2
|
||||||
- entity: binary_sensor.side_window_2
|
- entity: binary_sensor.side_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 3
|
- name: Side 3
|
||||||
- entity: binary_sensor.side_window_3
|
- entity: binary_sensor.side_window_3
|
||||||
|
- color: error-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 4
|
- name: Side 4
|
||||||
- entity: binary_sensor.side_window_4
|
- entity: binary_sensor.side_window_4
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back 1
|
- name: Back 1
|
||||||
- entity: binary_sensor.back_window_1
|
- entity: binary_sensor.back_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back 2
|
- name: Back 2
|
||||||
- entity: binary_sensor.back_window_2
|
- entity: binary_sensor.back_window_2
|
||||||
|
- color: error-color
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@ -1759,15 +1755,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.downstairs_bathroom_motion
|
- entity: binary_sensor.downstairs_bathroom_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@ -1775,15 +1773,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back
|
- name: Back
|
||||||
- entity: binary_sensor.downstairs_bathroom_window_1
|
- entity: binary_sensor.downstairs_bathroom_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side
|
- name: Side
|
||||||
- entity: binary_sensor.downstairs_bathroom_window_2
|
- entity: binary_sensor.downstairs_bathroom_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -1869,15 +1869,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Big Window
|
- name: Big Window
|
||||||
- entity: binary_sensor.kitchen_big_window
|
- entity: binary_sensor.kitchen_big_window
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Sink Window
|
- name: Sink Window
|
||||||
- entity: binary_sensor.kitchen_sink_window
|
- entity: binary_sensor.kitchen_sink_window
|
||||||
|
- color: error-color
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
@ -1940,15 +1942,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.mud_room_motion
|
- entity: binary_sensor.mud_room_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@ -1956,15 +1960,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back Door
|
- name: Back Door
|
||||||
- entity: binary_sensor.back_door
|
- entity: binary_sensor.back_door
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.mud_room_window
|
- entity: binary_sensor.mud_room_window
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -2029,15 +2035,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.stairwell_bottom_motion
|
- entity: binary_sensor.stairwell_bottom_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Occupied
|
- name: Occupied
|
||||||
- entity: binary_sensor.stairwell_occupied
|
- entity: binary_sensor.stairwell_occupied
|
||||||
|
- color: accent-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Security
|
name: Security
|
||||||
@ -2045,10 +2053,11 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.stairway_window_lower
|
- entity: binary_sensor.stairway_window_lower
|
||||||
|
- color: error-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
|
||||||
@ -2123,15 +2132,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.stairwell_top_motion
|
- entity: binary_sensor.stairwell_top_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -2231,15 +2242,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.upstairs_bathroom_motion
|
- entity: binary_sensor.upstairs_bathroom_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -2490,15 +2503,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.master_bedroom_motion
|
- entity: binary_sensor.master_bedroom_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -2673,15 +2688,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.kallen_bedroom_motion
|
- entity: binary_sensor.kallen_bedroom_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -2907,15 +2924,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_color_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Motion
|
- name: Motion
|
||||||
- entity: binary_sensor.emma_bedroom_motion
|
- entity: binary_sensor.emma_bedroom_motion
|
||||||
|
- color: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_accent_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: accent-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_timer_card
|
template: popup_timer_card
|
||||||
variables:
|
variables:
|
||||||
@ -2961,15 +2980,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front
|
- name: Front
|
||||||
- entity: binary_sensor.front_door
|
- entity: binary_sensor.front_door
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back
|
- name: Back
|
||||||
- entity: binary_sensor.back_door
|
- entity: binary_sensor.back_door
|
||||||
|
- color: error-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Living Room
|
name: Living Room
|
||||||
@ -2977,54 +2998,63 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 1
|
- name: Front 1
|
||||||
- entity: binary_sensor.front_window_1
|
- entity: binary_sensor.front_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 2
|
- name: Front 2
|
||||||
- entity: binary_sensor.front_window_2
|
- entity: binary_sensor.front_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Front 3
|
- name: Front 3
|
||||||
- entity: binary_sensor.front_window_3
|
- entity: binary_sensor.front_window_3
|
||||||
|
- color: error-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 1
|
- name: Side 1
|
||||||
- entity: binary_sensor.side_window_1
|
- entity: binary_sensor.side_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 2
|
- name: Side 2
|
||||||
- entity: binary_sensor.side_window_2
|
- entity: binary_sensor.side_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 3
|
- name: Side 3
|
||||||
- entity: binary_sensor.side_window_3
|
- entity: binary_sensor.side_window_3
|
||||||
|
- color: error-color
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side 4
|
- name: Side 4
|
||||||
- entity: binary_sensor.side_window_4
|
- entity: binary_sensor.side_window_4
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back 1
|
- name: Back 1
|
||||||
- entity: binary_sensor.back_window_1
|
- entity: binary_sensor.back_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back 2
|
- name: Back 2
|
||||||
- entity: binary_sensor.back_window_2
|
- entity: binary_sensor.back_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Stairwell
|
name: Stairwell
|
||||||
@ -3032,10 +3062,11 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.stairway_window_lower
|
- entity: binary_sensor.stairway_window_lower
|
||||||
|
- color: error-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
|
||||||
@ -3045,15 +3076,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Big
|
- name: Big
|
||||||
- entity: binary_sensor.kitchen_big_window
|
- entity: binary_sensor.kitchen_big_window
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Sink
|
- name: Sink
|
||||||
- entity: binary_sensor.kitchen_sink_window
|
- entity: binary_sensor.kitchen_sink_window
|
||||||
|
- color: error-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Mud Room
|
name: Mud Room
|
||||||
@ -3061,10 +3094,11 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.mud_room_window
|
- entity: binary_sensor.mud_room_window
|
||||||
|
- color: error-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
|
||||||
@ -3074,15 +3108,17 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Back
|
- name: Back
|
||||||
- entity: binary_sensor.downstairs_bathroom_window_1
|
- entity: binary_sensor.downstairs_bathroom_window_1
|
||||||
|
- color: error-color
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Side
|
- name: Side
|
||||||
- entity: binary_sensor.downstairs_bathroom_window_2
|
- entity: binary_sensor.downstairs_bathroom_window_2
|
||||||
|
- color: error-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Upstairs Hallway
|
name: Upstairs Hallway
|
||||||
@ -3090,10 +3126,11 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.stairway_window_upper
|
- entity: binary_sensor.stairway_window_upper
|
||||||
|
- color: error-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
|
||||||
@ -3103,10 +3140,11 @@ views:
|
|||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: custom:streamline-card
|
- type: custom:streamline-card
|
||||||
template: popup_security_button
|
template: state_color_button
|
||||||
variables:
|
variables:
|
||||||
- name: Window
|
- name: Window
|
||||||
- entity: binary_sensor.upstairs_bathroom_window
|
- entity: binary_sensor.upstairs_bathroom_window
|
||||||
|
- color: error-color
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: empty_column
|
card_type: empty_column
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
@ -5856,4 +5894,26 @@ views:
|
|||||||
cards:
|
cards:
|
||||||
- type: heading
|
- type: heading
|
||||||
heading: New section
|
heading: New section
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: state
|
||||||
|
entity: input_boolean.gaming_mode
|
||||||
|
name: Gaming Mode
|
||||||
|
tap_action:
|
||||||
|
action: none
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
button_action:
|
||||||
|
tap_action:
|
||||||
|
action: none
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
show_state: false
|
||||||
|
columns: 2
|
||||||
|
modules:
|
||||||
|
- state_color_button
|
||||||
title: ''
|
title: ''
|
||||||
|
Reference in New Issue
Block a user