Add controls for Do Not Enter mode in basement studio
tm24fan8/Home-Assistant-Configs#218
This commit is contained in:
@ -2669,12 +2669,12 @@ views:
|
|||||||
unavailable: mdi:map-marker-question
|
unavailable: mdi:map-marker-question
|
||||||
state:
|
state:
|
||||||
case: first
|
case: first
|
||||||
- entity: input_boolean.white_noise_basement
|
- entity: input_boolean.do_not_enter_basement_studio
|
||||||
name: White Noise
|
name: Do Not Enter
|
||||||
layout: icon|name_state
|
layout: icon|name_state
|
||||||
state_icons:
|
state_icons:
|
||||||
'on': mdi:volume-high
|
'on': mdi:minus-circle
|
||||||
'off': mdi:volume-off
|
'off': mdi:minus-circle-off-outline
|
||||||
unavailable: mdi:map-marker-question
|
unavailable: mdi:map-marker-question
|
||||||
state:
|
state:
|
||||||
case: first
|
case: first
|
||||||
|
@ -1550,6 +1550,24 @@ views:
|
|||||||
button_action:
|
button_action:
|
||||||
double_tap_action:
|
double_tap_action:
|
||||||
action: none
|
action: none
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
entity: input_boolean.do_not_enter_basement_studio
|
||||||
|
name: Do Not Enter
|
||||||
|
show_state: true
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: more-info
|
||||||
|
button_action:
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: empty-column
|
||||||
- type: custom:bubble-card
|
- type: custom:bubble-card
|
||||||
card_type: separator
|
card_type: separator
|
||||||
name: Status
|
name: Status
|
||||||
|
Reference in New Issue
Block a user