Hello All -
I’m a Vera convert trying to slowly get my arms around HAAS as I believe this could be my new home (coupled with MSR).
I’m testing out Zones to find out how well HAAS will do with presence detection. I have to say that I’m impressed. It’s much more accurate than Vera and other plugins I’ve tried.
That said, I’m having issues with using the Zone Notification Blueprint (/config/blueprints/automation/homeassistant/notify_leaving_zone.yaml) when leaving my “Home Zone”. I’ve verified that it works from other Zones, however, such as one I have setup for Work. I read another thread with someone having this issue but no resolution.
Note I have a zone ring around my home for 2 miles in addition to the home zone. This will eventually trigger pre-arrival events, etc. Could it be confilcting?
trigger:
platform: state
entity_id: person.travis_bully
variables:
zone_entity: zone.home
zone_state: '{{ states[zone_entity].name }}'
person_entity: person.travis_bully
person_name: '{{ states[person_entity].name }}'
condition:
condition: template
value_template: >-
{{ trigger.from_state.state == zone_state and trigger.to_state.state !=
zone_state }}
action:
- alias: Notify that a person has left the zone
domain: mobile_app
type: notify
device_id: 8ecb6d336xxxxxxxxxxxxxxxxxx8c798c
message: '{{ person_name }} has left {{ zone_state }}'
id: '163xxxxxxxx619'
alias: Zone Leaving Notification
description: ''
Possible log entry where the event takes place when I’m leaving home: