Use trigger entity with zone enter/leave?

- alias: Someone Came Home
  trigger:
    platform: state
    from: 'not_home'
    to: 'home'
    entity_id: device_tracker.a, device_tracker_b, device_tracker.c
  action:
    service: notify.me
    data_template:
      message: "{{ trigger.to_state.attributes.friendly_name }} arrived home at {{ states('sensor.time') }}"
      title: "Home Assistant"

This works just fine for state changes, no problems here. What I want is to use it in this context but it doesn’t work the same. Zone enter/leave works so much better and keeps out false positives.

- alias: Someone Came Home
   trigger:
     platform: zone
     event: enter
     zone: zone.home
     entity_id: device_tracker.a, device_tracker.b, device_tracker.c
   action:
     service: notify.me
     data:
       message: "{{ trigger.to_state.attributes.friendly_name }} arrived home at {{ states('sensor.time') }}"
       title: "Home Assistant"

trigger.to_state.attributes.friendly_name

is the confusing part here. Anyone know how to do this particular part?

mta: should be using data_template not data

Seem to be the solution.