From 4eae828855eca0dae8afe715fffe2c62ce7fe39c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Wed, 8 Feb 2023 16:16:33 -0500 Subject: [PATCH] Fix welcome home greeting template #30 --- templates/speech/welcome_home.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/templates/speech/welcome_home.yaml b/templates/speech/welcome_home.yaml index 8bf7fa9..c63d66d 100644 --- a/templates/speech/welcome_home.yaml +++ b/templates/speech/welcome_home.yaml @@ -3,10 +3,8 @@ {%- macro getReport() -%}

"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') %}