"Old-Style Groups"

I love all the recent changes to HA but I have a question. I’m trying to make a people group, and not seeing that in the helper area.

I have the following in my groups.yaml

all_family_members:
    name: Family
    entities:
    - person.nancy
    - person.bob
    - person.john
    - person.sally

When I test the state on the individuals, I see either “home” or “not_home” however when I test the state of the group I’m getting “home” even with 50% of the individuals not actually home.

Just bc this was recently depreciated, I’m not sure if this is expected or if something is wrong. The documentation has been updated so maybe I just need to fond the old article for groups?

This is fine, I just want to be sure that the behavior is expected. If it’s “home” as long as one member reports as “home” - what happens if one goes to “unknown” ?

Legacy groups are not depreciated. They still work. They are just not recommended except in cases where there is no alternative.

Your group is functioning as expected. By default any person being home will cause the group to be home. Everyone has to be not_home for the group to have that state.

By setting the option all: true you can change the behaviour of the group to only being home if everyone is home and anyone being not_home will cause the group to be not_home.

If you want some other mix (like state = home if more than x people home) then you need to create a template sensor.