Added controls for Emma's door alert to main and mobile dashboards
This commit is contained in:
@ -1492,6 +1492,17 @@ views:
|
|||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
state_color: true
|
state_color: true
|
||||||
title: Lights On
|
title: Lights On
|
||||||
|
- show_name: true
|
||||||
|
show_icon: true
|
||||||
|
type: button
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
entity: button.emma_door_alert_cancel
|
||||||
|
show_state: false
|
||||||
|
visibility:
|
||||||
|
- condition: state
|
||||||
|
entity: timer.emma_door_alert
|
||||||
|
state: active
|
||||||
visibility:
|
visibility:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity: light.second_floor_lights
|
entity: light.second_floor_lights
|
||||||
@ -2466,6 +2477,10 @@ views:
|
|||||||
layout: icon|name_state
|
layout: icon|name_state
|
||||||
state:
|
state:
|
||||||
case: first
|
case: first
|
||||||
|
- entity: switch.emma_door_alert
|
||||||
|
name: Door Alert
|
||||||
|
- entity: button.emma_door_alert_cancel
|
||||||
|
name: Cancel Door Alert
|
||||||
- entity: switch.emma_bedroom_motion_lighting
|
- entity: switch.emma_bedroom_motion_lighting
|
||||||
name: Motion Lighting
|
name: Motion Lighting
|
||||||
- entity: input_number.nighttime_brightness_emma_bedroom
|
- entity: input_number.nighttime_brightness_emma_bedroom
|
||||||
|
@ -3701,6 +3701,18 @@ views:
|
|||||||
cards: []
|
cards: []
|
||||||
max_columns: 4
|
max_columns: 4
|
||||||
badges:
|
badges:
|
||||||
|
- type: custom:mushroom-template-badge
|
||||||
|
content: Emma has left her room!
|
||||||
|
icon: mdi:alert
|
||||||
|
color: red
|
||||||
|
label: Toddler Alert
|
||||||
|
entity: button.emma_door_alert_cancel
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
visibility:
|
||||||
|
- condition: state
|
||||||
|
entity: timer.emma_door_alert
|
||||||
|
state: active
|
||||||
- type: custom:mushroom-template-badge
|
- type: custom:mushroom-template-badge
|
||||||
content: Tornado Possible
|
content: Tornado Possible
|
||||||
icon: mdi:weather-tornado
|
icon: mdi:weather-tornado
|
||||||
|
Reference in New Issue
Block a user