Zone "away" or "not_home"

Hi

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

How is it possible to get the zone state “away”?

Have you Tried to add event?

        entity_id: device_tracker.paulus
        zone: zone.home
        event: enter  # or "leave"

Looks like it going to be a duplicate from here: