From 128510b0e4621cb7b53e9e552d11098528ad28ef Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Sun, 17 Sep 2023 14:29:05 -0400 Subject: [PATCH] Tweak E's med notification routing #130 --- packages/emmalynn.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/emmalynn.yaml b/packages/emmalynn.yaml index 90c4308..0b2b67a 100644 --- a/packages/emmalynn.yaml +++ b/packages/emmalynn.yaml @@ -560,7 +560,7 @@ script: - service: script.text_notify data: who: > - {% if states('person.christina_stork') in ['Bob Evans','BobEvans'] %} + {% if is_state('input_boolean.work_today','on') and states('person.christina_stork') in ['Bob Evans','BobEvans'] %} tony {% else %} parents @@ -689,7 +689,7 @@ script: - service: script.text_notify data: who: > - {% if states('person.christina_stork') in ['Bob Evans','BobEvans'] %} + {% if is_state('input_boolean.work_today','on') and states('person.christina_stork') in ['Bob Evans','BobEvans'] %} tony {% else %} parents @@ -817,7 +817,7 @@ script: - service: script.text_notify data: who: > - {% if states('person.christina_stork') in ['Bob Evans','BobEvans'] %} + {% if is_state('input_boolean.work_today','on') and states('person.christina_stork') in ['Bob Evans','BobEvans'] %} tony {% else %} parents