I can't get into the condition. I've been all over google for a few days and this forum getting nowhere.
I ask for help
[
{
"id": "5c0ff699943e1519",
"type": "inject",
"z": "d4722e6e2c1da3d1",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "on",
"payloadType": "str",
"x": 170,
"y": 800,
"wires": [
[
"562d0bd05b1c3589"
]
]
},
{
"id": "562d0bd05b1c3589",
"type": "python-function",
"z": "d4722e6e2c1da3d1",
"name": "",
"func": "node.warn (msg);\n\nif msg == \"on\":\n return msg \nelif msg == \"off\":\n return msg \nelse:\n pass",
"outputs": 1,
"x": 360,
"y": 800,
"wires": [
[
"c19a6341f71a49c3"
]
]
},
{
"id": "c19a6341f71a49c3",
"type": "debug",
"z": "d4722e6e2c1da3d1",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 550,
"y": 800,
"wires": []
}
]