Home Zone Automation Not Triggering

As you can see from the screenshots, I have an automation that triggers when:

trigger: numeric_state
entity_id:
 - zone.home
above: 0

which I configured by the GUI. According to the traces, it last executed April 2.

However, Home zone was 1 several times today.

What’s the issue, and how can I fix it?

Thanks!


Numeric triggers require crossing the threshold so since you number never falls below 0 it never crosses it, see note in the docs.

You might be better off using a state: trigger and using a condition to test if zone.home is greater than 0.

1 Like

The docs you linked to explicitly state that equal is excluded, so the automation would never have triggered for @jeff-y if what you said was the case.

Jeff, can you post your full automation & confirm that the automation is enabled?

EDIT: Got curious & created a simple automation using above:0. I can confirm it works as intended & triggers the automation when state of zone.home goes from 0 > 1.

Your automation is either disabled or something else is going on (eg. your automation is set to mode:single & is still running). Post your full automation & check the logs for errors.

2 Likes

I’ve reverted the automation to numeric state. Give me some time to collect fresh data.