From e99e09405cbcd242948dc14c5ddad5ae7dabee3e Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Tue, 31 Jan 2023 18:32:48 -0500 Subject: [PATCH] Make parent notifications work like nerds notifications #69 --- packages/notify.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/notify.yaml b/packages/notify.yaml index cbf3784..759fd7c 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -266,8 +266,10 @@ script: state: 'on' then: - service: > - {% if is_state('input_boolean.text_notify_tina','off') %} + {% if is_state('input_boolean.text_notify_tina','off') and is_state('input_boolean.text_notify_tony','on') %} notify.ios_tony + {% elif is_state('input_boolean.text_notify_tina','on') and is_state('input_boolean.text_notify_tony','off') %} + notify.ios_tina {% else %} notify.ios_parents {% endif %}