Smarter "skip_away" notification

This commit is contained in:
2023-02-25 20:14:34 -05:00
parent 2e87e4ed32
commit 6f8b7c3d22

View File

@ -464,7 +464,12 @@ script:
- condition: state - condition: state
entity_id: group.adults entity_id: group.adults
state: not_home state: not_home
- service: notify.all_ios - service: >
{% if states('person.christina_stork') in ['Bob Evans','BobEvans'] %}
notify.ios_nerds
{% else %}
notify.all_ios
{% endif %}
data: data:
title: "Everyone Left" title: "Everyone Left"
message: "Away mode arming in 1 minute" message: "Away mode arming in 1 minute"