How to create a group of zones

Hi there,

I’m fairly new to Home Assistant, and so far I’ve been able to overcome most obstacles. I am interested in treating zones as a group, but I can’t seem to make it work using the traditional groups setup, and I can’t find anyone else on the internet that has done this successfully.

Essentially I have a variety of functions I’d like to perform when a person or device leaves any known zone, although my zones will change frequently, so I don’t want to have to list them individually in an automation. Is there any existing or hacs functionality to group zones? TIA

Grouping zones won’t work as a zone’s state never changes.

That explains the trouble. Can you think of another way to accomplish something like this? Essentially, if you think of a zone as a ‘named place’, is there some way to trigger an automation when someone is not in any existing named place?

The state of the person or device tracker (or both?) will be state: not_home. You can easily automate on that.

Use developer tools and it should give you that information.

1 Like

OK! I’ve got this working. From what I had read, the tracker state would be home or not_home. I was worried this would mean other zones wouldn’t be accounted for. It’s 65 degrees here today, so I went out for a little drive and found the state becomes the zone name in pre-established zones - which is exactly what I needed. In this case not_home means not home or an any other known zone. Perfect!

Thanks!

There are apps that can do that for you.
Mock location is a good app for Android which can drive for you

Nailed it, not_home is equivalent to “Away”.