Automation debugging within a choice list

I have an automation that triggers on times of day. All with a trigger id.
The choice lists consists of a few conditions and actions. I noticed that my heating wasn’t on, while it should.

How can I debug this? It triggered with the fourth option (time 16:00). It should have gotten into that choice option, then determine if the conditions were true. They were. But it didn’t fire the required actions.
The trace only states that the actions weren’t fired.

When I look into the logs I see this:


Logger: homeassistant.helpers.script
Bron: helpers/script.py:857
Eerst voorgekomen: 10 februari 2025 om 07:20:00 (4 gebeurtenissen)
Laatst gelogd: 16:00:00

Error in 'choose[0]' evaluation: In 'and' (item 4 of 4): In 'numeric_state': In 'numeric_state' condition: unknown entity sensor.zolder_klimaat_temperatuur
Error in 'choose[1]' evaluation: In 'or' (item 2 of 2): In 'zone' condition: error matching person.me with zone.home: entity person.me has no 'latitude' attribute

The first error has nothing to do with the automation, the second does. At least it checked if I am home. Which I was, except I was missing a latitude?! How?

Post the automation.

This is the part of the location thing.

actions:

  • choose:
    • conditions:
      • condition: trigger
        id:
        • cv-aan-week
        • cv-aan-week-middag
      • condition: or
        conditions:
        • condition: zone
          entity_id: person.other
          zone: zone.home
        • condition: zone
          entity_id: person.me
          zone: zone.home
      • condition: state
        entity_id: input_boolean.verwarmen
        state: “on”
      • condition: state
        entity_id: binary_sensor.werkdag
        state: “on”

But unless I check not in a foolproof way if someone’s home, it has got to do with the longitude thing, which is still weird because I am registered at home.