Add shower mode status chip to mobile dashboard
home_automation/Home-Assistant-Configs#248
This commit is contained in:
@ -3793,6 +3793,22 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: binary_sensor.emma_bedroom_door
|
entity: binary_sensor.emma_bedroom_door
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- type: custom:mushroom-template-badge
|
||||||
|
content: '{{ states(entity) | title }}'
|
||||||
|
icon: fas:shower
|
||||||
|
entity: input_boolean.shower_mode
|
||||||
|
label: Shower Mode
|
||||||
|
color: var(--warning-color)
|
||||||
|
tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
visibility:
|
||||||
|
- condition: state
|
||||||
|
entity: input_boolean.shower_mode
|
||||||
|
state: 'on'
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: |-
|
content: |-
|
||||||
{% if is_state('input_boolean.school_cancelled','on') %}
|
{% if is_state('input_boolean.school_cancelled','on') %}
|
||||||
|
Reference in New Issue
Block a user