Hi all, just started experimenting with node-red, so far it has been brilliant but I am trying to move automatons from HA into node red and I can’t figure one out.
I have some kitchen led strips which change colour based on the outside temperature, which is picked up from a weather sensor. I can get the sensor to output the reading to the switch node, which then sets the scene based on the range.
I am struggling to figure out how to only get the lights to switch scenes if the led state is ON only and not do anything if the led state is OFF, I tried to feed the state into the switch node but it turns on the scene regardless if light is off or on
I am sure there is a simple logic to it, but can’t crack it. my flow below