🔧 update to latest

This commit is contained in:
James Walker 2022-10-16 19:55:45 -04:00
parent bf3a0e4774
commit 79857599b9
Signed by: walkah
GPG Key ID: 3C127179D6086E93
3 changed files with 5 additions and 3 deletions

View File

@ -1 +1 @@
2022.8.0
2022.10.4

View File

@ -34,7 +34,9 @@ variables:
condition:
condition: template
value_template: "{{ trigger.from_state.state == zone_state and trigger.to_state.state != zone_state }}"
# The first case handles leaving the Home zone which has a special state when zoning called 'home'.
# The second case handles leaving all other zones.
value_template: "{{ zone_entity == 'zone.home' and trigger.from_state.state == 'home' and trigger.to_state.state != 'home' or trigger.from_state.state == zone_state and trigger.to_state.state != zone_state }}"
action:
- alias: "Notify that a person has left the zone"