From d501825d4f5bafb74259bdb0f2833ad7b51195ca Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Fri, 30 Sep 2022 14:02:26 -0400 Subject: [PATCH] Brought handling of text alerts to 'all' in line with the rest --- packages/notify.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/packages/notify.yaml b/packages/notify.yaml index 5b2a7d5..5da83d3 100644 --- a/packages/notify.yaml +++ b/packages/notify.yaml @@ -208,6 +208,9 @@ script: ############################################################################### text_notify_all: sequence: + - condition: state + entity_id: input_boolean.text_notify_all + state: 'on' - service: notify.all_ios data_template: title: '{{ title }}' @@ -390,7 +393,7 @@ script: notify.ios_parents {% elif who == 'nerds' %} notify.ios_nerds - {% else %} + {% elif who == 'all' %} notify.all_ios {% endif %} data: @@ -420,7 +423,7 @@ script: notify.ios_parents {% elif who == 'nerds' %} notify.ios_nerds - {% else %} + {% elif who == 'all' %} notify.all_ios {% endif %} data: @@ -450,7 +453,7 @@ script: notify.ios_parents {% elif who == 'nerds' %} notify.ios_nerds - {% else %} + {% elif who == 'all' %} notify.all_ios {% endif %} data: