Add badge for E's wake time to mobile dashboard
This commit is contained in:
@ -3886,6 +3886,29 @@ views:
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity: input_boolean.kallen_night_meds_taken
|
entity: input_boolean.kallen_night_meds_taken
|
||||||
state: 'on'
|
state: 'on'
|
||||||
|
- type: custom:mushroom-template-badge
|
||||||
|
content: |-
|
||||||
|
{% from 'time.jinja' import input_datetime_read %}
|
||||||
|
{{ input_datetime_read('input_datetime.emma_awake_at') }}
|
||||||
|
icon: mdi:weather-sunset-up
|
||||||
|
color: ''
|
||||||
|
entity: input_datetime.emma_awake_at
|
||||||
|
label: Emma Awake At
|
||||||
|
tap_action:
|
||||||
|
action: none
|
||||||
|
hold_action:
|
||||||
|
action: none
|
||||||
|
double_tap_action:
|
||||||
|
action: none
|
||||||
|
visibility:
|
||||||
|
- condition: user
|
||||||
|
users:
|
||||||
|
- f387a983651a4321a7411ff8cf36f949
|
||||||
|
- c3909d27048140729f002aaef0391775
|
||||||
|
- 879b4c04e32841b3ad1d2763a11b4e70
|
||||||
|
- condition: state
|
||||||
|
entity: input_boolean.emma_sleeping
|
||||||
|
state: 'off'
|
||||||
header:
|
header:
|
||||||
card:
|
card:
|
||||||
type: markdown
|
type: markdown
|
||||||
|
Reference in New Issue
Block a user