Feedback to switch from node red companion

Hi,
I have created a switch in node red (Node red companion) that I am using to activate the floor heating in my bathroom. this switch is then used in a climate entity together with a temperature sensor mounted on the wall. That way I can set the room temperature in the bathroom instead of the floor temperature.
I also have a device that is reporting power consumption from the floor heating.
I would like to use the power reading as a feedback to that switch.
That would be useful if for some reason the floor heating does not turn on, I will then see that the switch will toggle back to OFF state.

The switch node (>600W) will send on the first output if power consumption is greater than 600W (floor heating is on) and on the second output if it is not (floor heating is off). I have experimented with connecting the output from that into the switch but then it will turn on twice, first when it is activated and then again when floor heating starts to consume power.

I hope I am making sense here, I am looking for a switch that can send an on/off command but that the animation of the switch state in home assistant is based on the actual on/off state of my floor heating.