Is the mqtt back in really providing a boolean ? add a debug to check.
add the debug before the switch - on the output of the mqtt node
well then you aren't subscribed to the correct topic ... you either need the full correct topic or to use correct wildcard # at the end.
Have you got a trailing slash at the end of your MQTT topic in your node?
Try removing it.
Is better now but not solved yet. Because it s like if node red has over ride control.
I mean when i use my homey app to switch on the light for example, and that the switch is off on node red, then the light goes on then off immediately like if nodered has over rights.
Weird ?
Subject moved to its own thread - Node red master rules?