Presence Detection Issue - Backwards?

When I came home last night my shut down automation triggered just before I arrived home, exactly the opposite of what it is supposed to do. Here is what my logbook said:

Presence Screenshot

Not sure why it says 4 times that I’m home - 2 in lower case and 2 capitalized.
Here is the trigger:

- alias: Lights & TV Off, Lock Doors When Not Home
  initial_state: true
  trigger:
    - platform: state
      entity_id: group.family_presence_sensor
      from: 'home'
      to: 'not_home'

From my groups.yaml:

family_presence_sensor:
  name: Family Presence
  entities:
    - person.jeff
    - person.lygea

In Configuration/Persons/Jeff I only have 1 device tracker. Only using the iPhone app for tracking. My wife was not home when this happened.

Anyone have any idea why this is happening?

is this a new automation or has it been working well for some time?
Have you made any changes recently?
Do you by chance have more than 1 home zone (1 x home, 1 x Home)?
your automation triggered because you went from the home zone to the Home zone…

Also I’d probably change the trigger to be something like:

- alias: Lights & TV Off, Lock Doors When Not Home
  initial_state: true
  trigger:
    - platform: state
      entity_id: group.family_presence_sensor
      from: 'home'
      to: 'not_home'
      for:
        minutes: 2

If for some reason your location accuracy isn’t too great and you keep jumping in and out of your home zone, this will ensure your automation doesn’t trigger as a result

It appears I do have 2 home zones one of which is larger than the other so I bet that is my issue. I’m going to remove one and still implement your idea for a 2 minute “delay”. Thank you.