Alternate pickup from school for K

Same
This commit is contained in:
2023-04-19 12:39:40 -04:00
parent a59b02cb3f
commit b86ff39c79
4 changed files with 28 additions and 6 deletions

View File

@ -301,9 +301,13 @@
'But there was a two hour delay. '
{% endif %}
{% endif %}
<s>Pickup today will be at {{(state_attr('input_datetime.kallen_school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }}</s>
{% if is_state('input_boolean.kallen_school_early_release','on') %}
And It is early release!
{% if is_state('input_boolean.kallen_alternate_pickup','on') %}
{{ states('input_text.kallen_pickup') }} will be picking Collin up from school today.
{% else %}
<s>Pickup today will be at {{ state_attr('input_datetime.kallen_school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False) }}</s>
{% if is_state('input_boolean.kallen_school_early_release','on') %}
And It is early release!
{% endif %}
{% endif %}
{% if states('sensor.windows_open') | int > 0 %}
'I detect that there are windows open. Make sure you close them before you leave, or else the security system will not arm. '