Presence detection group: hide individual if away?

I’m using an input_select to track people as home/away/just arrived/etc. I have a group containing all of these input_selects. Is there a way to hide individuals when they are away, but only certain ones?

Say I have a friend over quite a bit, and they have their own key, and I want them to show up in my presence group. When they are away, which should be most of the time, I would want their input_select to hide and not show in the group, but keep the rest of the group visible when they’re away because the rest of the group actually lives here.

Not possible I assume?

Depends on where you want to hide it?

I’m using the standard group of input_selects for presence detection that looks like this:

Presence Group
[icon] Bob ___________ Home
[icon] Joe ___________ Away

Is there any way to make it so that “if Joe == Away, HIDE Joe” ? So then only Bob would be visible in the group.

Use an entity_filter card and list the states under which you want them to display (home)

Sweet, it allows per entity filtering. Just what I needed.