Trigger entity.id with zone condition

The condition check on zone doesn’t seems to work.

Is it at all possible to get a tigger entity to check with a zone?

p.s. the notification works

alias: P2000 Node
description: ''
trigger:
  - platform: state
    entity_id: sensor.p2000_ambulance
  - platform: state
    entity_id: sensor.p2000_brandweer
  - platform: state
    entity_id: sensor.p2000_politie
condition:
  - condition: zone
    entity_id: trigger.entity_id
    zone: zone.thuis_p2000
action:
  - service: notify.mobile_app_gm1913
    data:
      message: P2000 {{ state_attr('trigger.entity_id', 'dienst')}}
      title: '{{ states(''trigger.entity_id'') }}'
mode: single

For zone automation to work, you need to have set up a device tracker platform that supports reporting GPS coordinates.

The documentation only mentions device_tracker entities, not sensors.

The enities show up on the map because of lat en long as attributes.
My problem is this:

Error: In ‘zone’ condition: error matching trigger.entity_id with zone.thuis_p2000: unknown entity trigger.entity_id

Hmm … trigger.to_state.entity_id maybe (though trigger.entity_id should work)?