Don't send critical notification to wife while she's at work
This commit is contained in:
@ -271,7 +271,12 @@ automation:
|
|||||||
- service: script.text_notify
|
- service: script.text_notify
|
||||||
data:
|
data:
|
||||||
type: critical
|
type: critical
|
||||||
who: 'parents'
|
who: >-
|
||||||
|
{% if states('person.christina_stork') in ['Bob Evans','BobEvans'] %}
|
||||||
|
tony
|
||||||
|
{% else %}
|
||||||
|
parents
|
||||||
|
{% endif %}
|
||||||
title: 'Security Not Armed!'
|
title: 'Security Not Armed!'
|
||||||
tag: lockdown-issue
|
tag: lockdown-issue
|
||||||
message: >-
|
message: >-
|
||||||
|
Reference in New Issue
Block a user