I am trying to set up a flow that sets an input_select in home assistant in the most efficient manner. Basically, any time someone's status changes I want it to evaluate the group status. I cannot use the group function because found something more complex than simple home or not_home.
Each person has there own input_select that has the options of Home, Just Arrived, Just Left, Away, and Extended Away. I created another input_select for the group that has the same options. How I want that input_select to behave is that it has the status of the group: ie if P1 is Home and P2 is Away, it will select Home, if P1 and P2 are Away, it will show Away. So the order of precedence is as its listed.
My first node is tied to the entity ID of
^input_select\..*$ so that way anytime one of the person's individual input_select's changes, it will kick off the flow. But I am at a loss on how to continue this. Any help would be appreciated.