this post was submitted on 25 Jan 2025
21 points (100.0% liked)

homeassistant

12718 readers
9 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

Is there any way to group zones together? I would like to define zones that are not necessarily circular in shape. I can accomplish what I want by overlapping several of them, but I really want to group them together and treat them as one zone. Is this possible?

I suppose I could probably script up a template trigger...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 2 weeks ago* (last edited 2 weeks ago)

@SteveDinn
Wondering if a template sensor would do the trick?
Like: sum up the number of people in zone1, 2, 3 …
Edit: Overlapping probably will result in higher counts though. You could still have qualitative information, like is anybody in the zone collection or not.
There might still be a way to count, but you would have to check for each person if it is in any of the zones of interest.
If I had to do that, I would probably create a sensor for each person and sum them up.