While zoning, it seemed to go in and out once

While I was debugging an automation on entering/leaving a zone, I notice something that I did not expect.

I tried to create the zone and position it so there would not be any false positives. The size and center was based on the streets layouts. The blue dot is where I work. The red line was how I entered the zone. From the history looks like it tripped the zone, then lost it, then found it again. Is this normal? Do I need to adjust the zone some more?

image

Looks like you loose GPS signal momentarily, which is normal. It looks like you need x time in zone, x time out of zone to be in/out of the zone.

I assume you mean something like this?
Any best practice on the time? I am guessing 10 seconds?
For this automation, the time is not critical, but if you are doing a “ariving home”, I can see that getting tricky.

  - alias: 'Paul Arriving Office'
    trigger:
      - platform: state
        entity_id: person.paul
        to: "Paul's Office"
        for:
          seconds: 10
    action:
      service: notify.family
      data:
        message: "Paul has arrived at the office. Time: {{now().strftime('%I:%M:%S %p')}}"