Disable or not triggered when within the Zone

I would like to stop an Automation that sends Notification to my phone when a motion is detected, it works fine when is detected and I receive the notification but when I am on the Zone (I mean there) I don’t want to be notified every time I pass by the camera. I am unable to work out the Condition but probably not the right away to do it.

Thank you in advance

alias: Detection
description: “”
trigger:

  • platform: state
    entity_id: binary_sensor.person_motion
    to: “on”
    condition:
  • condition: template
    value_template: “{{ not is_state(‘device_tracker.my_phone_entity’, ‘my_zone’) }}”
    action:
  • service: notify.mobile_app_my_phone_entity"
    data:
    message: “Message to be sent”
    mode: single