A "list" based on certain events

Hi all.

Im trying to display a list of “things” in HA, and take things in and out of that last based on a HA event.

I can see the events getting triggered for things i want to add to the list and remove from the list, I am just not sure of the best way to go about it.

A real world example might be:
Show me a list of all the people that are home, and curate that based on the status change from away -> home or home -> away

Thats not exactly what im trying to do, but its similar (and might actually be a cool thing to do as well!)

Thanks

For your home / away example the easiest way would be with a conditional card set up to only display trackers / persons that are home.

Some examples:

Ooh that solves part of my issue.

What about something that’s event driven?