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?