Add statement if school is running on time
This commit is contained in:
@ -82,6 +82,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if is_state('input_boolean.kallen_two_hour_delay','on') %}
|
{% if is_state('input_boolean.kallen_two_hour_delay','on') %}
|
||||||
'You have a two hour delay today. '
|
'You have a two hour delay today. '
|
||||||
|
{% else %}
|
||||||
|
'School is running on time. '
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<s>School today starts at {{ (state_attr('input_datetime.school_day_start','timestamp') | int | timestamp_custom('%I:%M %p' , False)) }}</s>
|
<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>
|
<s>Pickup today will be at {{(state_attr('input_datetime.school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }}</s>
|
||||||
|
Reference in New Issue
Block a user