I have two input_selects set up to indicate my wife’s and my presence, for instance “input_select.john_presence” and “input_select.jane_presence”.
These can be values “Home”, “Away”, “Just Arrived” and “Just Left”.
I’m trying to create Master presence input select drop down based on the values of these two input_selects in Node Red. But I can’t figure out how to do some kind of AND function on the state change of them and generate an output to set the Master Presence input_select.
For instance if “input_select.john_presence” = “home” AND “input_select.jane_presence” = “home” then set an input_select.master_presence or even a sensor (if you can create a sensor from NR - maybe a device tracker?) to home or away.
The goal is to be able to trigger automatons based on the master presence.
Does that make sense at all? lol.