Due some strange functionality using location tracking with ios app, I not able to trigger anymore the change state from home to not_home, so I started to use zone events. My questions is how I can have a condition of zone when away or not_home?
I want to change this:
- condition: state
entity_id: device_tracker.myphone
state: 'not_home'
to something like this:
- condition: zone
entity_id: device_tracker.myphone
zone: zone.away