Add statement if school is running on time

This commit is contained in:
2022-09-14 13:30:57 -04:00
parent a7f81fadaa
commit 5538ae1cf4

View File

@ -82,6 +82,8 @@
{% endif %}
{% if is_state('input_boolean.kallen_two_hour_delay','on') %}
'You have a two hour delay today. '
{% else %}
'School is running on time. '
{% endif %}
<s>School today starts at {{ (state_attr('input_datetime.school_day_start','timestamp') | int | timestamp_custom('%I:%M %p' , False)) }}</s>
<s>Pickup today will be at {{(state_attr('input_datetime.school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }}</s>