Minor additions to K's school status script

This commit is contained in:
2022-09-28 17:30:58 -04:00
parent d81cfe7cf4
commit b8aa420ce0

View File

@ -11,7 +11,7 @@
"You have school today, and it is running on time. "
{% endif %}
{% elif is_state('input_boolean.kallen_school_cancelled','on') %}
"School has been cancelled for today! "
"School has been cancelled for today! Enjoy the unexpected day off! "
{% else %}
"You do not have school today. Enjoy your day off! "
{% endif %}
@ -21,6 +21,9 @@
"You have band practice this morning before school. "
{% endif %}
"Your school day will start at {{ (state_attr('input_datetime.school_day_start','timestamp') | int | timestamp_custom('%I:%M %p' , False)) }}. "
{% if is_state('input_boolean.school_early_release','on') %}
"There will be early dismissal today. "
{% endif %}
"Your school day will end at {{(state_attr('input_datetime.school_day_end', 'timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% endif %}
</p>