Welcome home now aware of K being at school #30

This commit is contained in:
2022-09-14 15:29:03 -04:00
parent 075ae68f7c
commit 636f442a91

View File

@ -133,9 +133,14 @@
<p>
{% if is_state('person.christina_stork','Bob Evans') and is_state('input_boolean.work_today','on') %}
Tina is at work right now. She will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}
"Tina is at work right now. She will be done at approximately {{ (state_attr('input_datetime.tina_workday_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_boolean.work_today','on') %}
Tina has work today.
"Tina has work today. "
{% endif %}
{% if is_state('input_boolean.kallen_school','on') %}
"Kallen is at school right now. His pickup time will be at {{ (state_attr('input_datetime.school_day_end','timestamp') | int | timestamp_custom('%I:%M %p', False)) }}. "
{% elif is_state('input_boolean.school_today','on') %}
"Kallen has school today. "
{% endif %}
</p>