Notifications to 'parents' group now respects if wife is at work
This commit is contained in:
@ -314,7 +314,12 @@ script:
|
|||||||
entity_id: input_boolean.text_notify_parents
|
entity_id: input_boolean.text_notify_parents
|
||||||
state: 'on'
|
state: 'on'
|
||||||
then:
|
then:
|
||||||
- service: notify.ios_parents
|
- service: >
|
||||||
|
{% if is_state('input_boolean.text_notify_tina','off') %}
|
||||||
|
notify.ios_tony
|
||||||
|
{% else %}
|
||||||
|
notify.ios_parents
|
||||||
|
{% endif %}
|
||||||
data:
|
data:
|
||||||
title: '{{ title }}'
|
title: '{{ title }}'
|
||||||
message: '{{ message }}'
|
message: '{{ message }}'
|
||||||
|
Reference in New Issue
Block a user