Alert based on geo_location (enter a zone)

Hello Everyone,
I am failrly new to HA and I am facing issues with automation/geo_location/alert. I try to find answers from the earlier post but nothing helped me hence posting here to find some answers.

I have created an automation from the HA UI, and this is now storied on the automations.yaml file. There is also a link for automations.yaml file in configuration.yaml file.

When I run the automation manually, it works as expected (a popup on my telephone). However, it is not triggering automatically.

FYI: The Geo location of my kid is updated well. Just the automation is not triggered.

Here is an example:

- id: '1705481212035'
  alias: Kid reached school
  description: ''
  trigger:
  - platform: geo_location
    source: device_tracker.iphone_kid
    zone: zone.school
    event: enter
  condition: []
  action:
  - service: notify.mobile_app_dad_phone
    data:
      message: Kid reached school
      title: Kid
  mode: single

Thanks for the help in advance.

Thanks for pointing out. I modified to below and it works amazingly.

- id: '1705578041084'
  alias: Kid left school
  description: ''
  trigger:
  - platform: zone
    entity_id: person.Kid
    zone: zone.school
    event: leave
  condition: []
  action:
  - service: notify.mobile_app_dad_phone
    metadata: {}
    data:
      message: Kid left school
  mode: single