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
|
||||
state:
|
||||
case: first
|
||||
- entity: input_boolean.white_noise_basement
|
||||
name: White Noise
|
||||
- entity: input_boolean.do_not_enter_basement_studio
|
||||
name: Do Not Enter
|
||||
layout: icon|name_state
|
||||
state_icons:
|
||||
'on': mdi:volume-high
|
||||
'off': mdi:volume-off
|
||||
'on': mdi:minus-circle
|
||||
'off': mdi:minus-circle-off-outline
|
||||
unavailable: mdi:map-marker-question
|
||||
state:
|
||||
case: first
|
||||
|
@ -1550,6 +1550,24 @@ views:
|
||||
button_action:
|
||||
double_tap_action:
|
||||
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
|
||||
card_type: separator
|
||||
name: Status
|
||||
|
Reference in New Issue
Block a user