Don't send critical notification to wife while she's at work

This commit is contained in:
2023-04-11 17:31:25 -04:00
parent 09b64f1971
commit ce6602287f

View File

@ -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: >-