Disable flow if false

Hi!

I'm trying to insert a boolean to disable a flow, but stuggling with the formatting/setup. How should I configure the current state node to just forward all data if true, else not stop the flow.

Debug 1:
adjustment : msg.payload : undefined
undefined
Debug 2: adjustment : msg.payload : number
-2

There are not many here that use HA so you might have problems getting help here. You might be better on an HA forum. Alternatively use a node-red-contrib-simple-gate to block the flow instead of the HA node.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.