Since a few days I try to achieve the same, but I get stuck somewhere. First I of all ma my journey into solving this topic started on the wrong forum (node-red). The explained solutions there didn’t work for HA entities for me, because they are using msg.topic to transfer they payloads. The described solution here seems to be pretty obvious, but somewhere I didn’t catch the train. The goal is pretty much the same as the one from @fxreina, I need to compare a temperature with a temp setpoint (as input_number). But my temp is single entity.
The content of the node looks as this.
But I don’t get any output on the debug screen?
Note: Node-red is pretty new to me, so I may miss something obvious.