Set a text helper only if input boolean is on

The quick and dirty:
Message payload changes to “on” if I use “current state” to check of the input boolean is on. I need the payload to pass through it unchanged.

Additional information that may help to provide correct answer:
The flow starts with a check to see if a sensor has changed (A temperature sensor). It then needs to check to see if a specific input boolean is on (to tell it if I want it to send it to the display or not) If it is on then I use a call service to set the text helper that updates the sign to the payload (That used to contain the sensor value)
I suppose I could set the text helper to the value of the temp sensor instead of the payload… But I don’t know how to do that either. So I guess either would work.

Use a switch node to move it to another parameter name, like msg.textvalue or msg.original_payload.

I am afraid I am going to need to ask for an example. Because I have no idea what you are talking about.

Sorry, my bad.
I read the wrong name of the node.
It is actually called a change node.

I did not have time to look through the many videos for node red change node, so I just grabbed one that looked like it would have an explanation.
Search for some yourself if this one is not good enough. There are plenty. :slight_smile:

You can delete the output properties from the node checking the value.

You may want to set “Block Input Overrides” too, depending on what’s in your payload.

I think the issue is that a needed payload from a previous node is being overwritten by a later node.
Only way around that is to move the payload somewhere before it gets overwritten.
One way to move it is with the change node. There are other ways too.