Automation based on group doesn't trigger

Same issue here. Pretty basic functionality of using a group to track family presence and trigger automations. I’m pretty new at HA and very exited but now surpised to see such a basic feature not working. Must be a bug. I saw it working after setting up the group but then it gave up and even configuring everything from scratch does not bring back the automation to trigger again.

It’s not a bug. Zone triggers only work with gps entities. A group does not have gps coordinates.

If you’re looking for him/away functionality for a group, use a state trigger with the states home and not_home.

1 Like

It works!

Why in hell is the group status in the dashboard showing ‘Away’ and if you check the developer tools it says ‘not_home’. Triggering on ‘not_home’ works. And ‘Home’ and ‘home’ was another issue. I try to tiggered 'Home" because the dashboard was showing this but the real status was in lower cases.

Petro, thanks for the hint. Can you explain why the Group is showing Away in dashboard but not_home in state?

All states shown in the UI are translated to your language.

I’ve had the same problem. Took me a while to figure out the actual stat was ‘not_home’ rather than the ‘away’ shown in the history.
‘Not_home’ and ‘away’ are both English? Mine is set to English

All states under the hood are English. Away is the translation used when your language is set to English. For other languages, it’s whatever Away is in the selected language.

1 Like

Than how can you know what the different state names are before translation to UI language? You only see current state when looking at states and the translated states in history.

developer tools → states page has all unaltered states.

At the risk of sounding like a total noob but I only see the ‘current’ state in the states page.
If I’m at home, the state is home. Where can I find that the other state is not_home without changing the current state?

You can’t, you can only see current states.