Add badge for E's wake time to mobile dashboard

This commit is contained in:
2025-03-05 17:30:52 -05:00
parent 150ec1a65a
commit 1fc7718bba

View File

@ -3886,6 +3886,29 @@ views:
- condition: state
entity: input_boolean.kallen_night_meds_taken
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:
card:
type: markdown