Brought handling of text alerts to 'all' in line with the rest

This commit is contained in:
2022-09-30 14:02:26 -04:00
parent ac2b3e0942
commit d501825d4f

View File

@ -208,6 +208,9 @@ script:
############################################################################### ###############################################################################
text_notify_all: text_notify_all:
sequence: sequence:
- condition: state
entity_id: input_boolean.text_notify_all
state: 'on'
- service: notify.all_ios - service: notify.all_ios
data_template: data_template:
title: '{{ title }}' title: '{{ title }}'
@ -390,7 +393,7 @@ script:
notify.ios_parents notify.ios_parents
{% elif who == 'nerds' %} {% elif who == 'nerds' %}
notify.ios_nerds notify.ios_nerds
{% else %} {% elif who == 'all' %}
notify.all_ios notify.all_ios
{% endif %} {% endif %}
data: data:
@ -420,7 +423,7 @@ script:
notify.ios_parents notify.ios_parents
{% elif who == 'nerds' %} {% elif who == 'nerds' %}
notify.ios_nerds notify.ios_nerds
{% else %} {% elif who == 'all' %}
notify.all_ios notify.all_ios
{% endif %} {% endif %}
data: data:
@ -450,7 +453,7 @@ script:
notify.ios_parents notify.ios_parents
{% elif who == 'nerds' %} {% elif who == 'nerds' %}
notify.ios_nerds notify.ios_nerds
{% else %} {% elif who == 'all' %}
notify.all_ios notify.all_ios
{% endif %} {% endif %}
data: data: