Yeah, sorry. I can't say what happened.
Here is a working one.
With TEST buttons to help make it easier to test if it is (or not) blocking.
[{"id":"e09d7c3b.d296c","type":"function","z":"b9924a74.4d98f8","name":"Skip","func":"let s = context.get(\"SKIP\") || 0;\nif (msg.payload == \"Skip one\")\n{\n context.set(\"SKIP\",1);\n node.status({fill: \"red\",text:\"BLOCK\"});\n return;\n}\nif (msg.payload == \"ON\")\n{\n if (s == 1)\n {\n node.status({});\n context.set(\"SKIP\",0);\n return;\n }\n}\nreturn msg;","outputs":1,"noerr":0,"x":430,"y":2110,"wires":[["4d784638.133888"]]},{"id":"152fbddb.4484da","type":"eztimer","z":"b9924a74.4d98f8","name":"Abbassa tapparella salone","debug":false,"autoname":"07:41:00 - 07:42:00","tag":"eztimer","suspended":false,"sendEventsOnSuspend":false,"lat":"45.06562","lon":"7.6266","timerType":"1","startupMessage":true,"ontype":"2","ontimesun":"dawn","ontimetod":"07:41:00","onpropertytype":"msg","onproperty":"payload","onvaluetype":"str","onvalue":"ON","onoffset":0,"onrandomoffset":0,"onsuppressrepeats":false,"offtype":"2","offtimesun":"dusk","offtimetod":"07:42:00","offduration":"00:01:00","offpropertytype":"msg","offproperty":"payload","offvaluetype":"str","offvalue":"OFF","offoffset":0,"offrandomoffset":0,"offsuppressrepeats":false,"mon":true,"tue":true,"wed":true,"thu":true,"fri":true,"sat":true,"sun":true,"x":170,"y":2110,"wires":[["e09d7c3b.d296c"]],"info":"Abbassa Tapparella"},{"id":"f1abf273.25a62","type":"inject","z":"b9924a74.4d98f8","name":"","topic":"","payload":"Skip one","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":350,"y":2020,"wires":[["e09d7c3b.d296c"]]},{"id":"4d784638.133888","type":"debug","z":"b9924a74.4d98f8","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":600,"y":2110,"wires":[]},{"id":"4b1c827a.6cf4ac","type":"inject","z":"b9924a74.4d98f8","name":"","topic":"","payload":"ON","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":2170,"wires":[["e09d7c3b.d296c"]]},{"id":"e3e319e6.394528","type":"inject","z":"b9924a74.4d98f8","name":"","topic":"","payload":"OFF","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":2210,"wires":[["e09d7c3b.d296c"]]}]
The problem was the function node and I messed up with the SKIP name.
In one line it was SKIP and in another it wasn't. That's a no-no! (Causes problems)
This one is tested.
It is also a bit more informative to you. When you press the Skip button the function node tells you it is blocking.
After the node has blocked, it wipes the message and all things are normal.