Fix welcome home greeting template #30

This commit is contained in:
2023-02-08 16:16:33 -05:00
parent a90b947c45
commit 4eae828855

View File

@ -3,10 +3,8 @@
{%- macro getReport() -%}
<p>
"Welcome home, "
{% if is_state('group.family','home') %}
{% if is_state('person.tony_stork','home') and is_state('person.christina_stork','home') %}
"Stork family."
{% elif is_state('group.adults','home') %}
"Stork family. "
{% elif is_state('person.tony_stork','home') %}
"Tony. "
{% elif is_state('person.christina_stork','home') %}