i have 2 switches on my dashboard in HA
if both switches are on a light should come on.
How do i do this in node red and how do i set the nodes
Take a look at the trigger:state node. Set it up to listen for state changes on each switch. Then, in the conditions, check if both entities are in the on
state.
Hi Kermit, this is the solution. THANK YOU.
but what happens when |HA is reset after an update, then I get ‘running’ at the Trigger node.
How can I read the status then.
Switch 2 is actually a schedule helper in HA, but this also works!!!