Automation to trigger on leaving ANY zone?

I’m having some trouble creating an automation that will trigger on a device leaving ANY zone, not a specific zone, but just leaving one. Using the zone as a trigger i thought i could just not specify any zone, but thats not allowed.

Any tips?

Leaving any zone will trigger Away
So instead of looking at each zone you just need to know when a person is detected as Away

trigger:
  - platform: state
    entity_id:
      - person.dujith
    to: not_home
    attribute: device_trackers

You can do this for any other entity that has a device tracker associated with it.