Sorry, had some computer issues.
Here is the actual flow (with some sensitive data being replaced).
I haven't made any changes so for and will look into those over the coming days.
[{"id":"65c9b63cb09879a0","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"1139a03d.d1ca","type":"change","z":"65c9b63cb09879a0","name":"Reset","rules":[{"t":"set","p":"reset","pt":"msg","to":"foo","tot":"str"},{"t":"delete","p":"payload","pt":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":500,"wires":[["fcb3cb17.693a9"]]},{"id":"fcb3cb17.693a9","type":"counter","z":"65c9b63cb09879a0","name":"","init":"0","step":"1","lower":null,"upper":null,"mode":"increment","outputs":"1","x":440,"y":440,"wires":[["9faf97df.4ce4a"]]},{"id":"4189a6d1.44073","type":"switch","z":"65c9b63cb09879a0","name":"count presses","property":"count","propertyType":"flow","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"eq","v":"2","vt":"num"},{"t":"eq","v":"3","vt":"num"},{"t":"eq","v":"4","vt":"num"}],"checkall":"true","repair":false,"outputs":4,"x":600,"y":560,"wires":[["4b346299aded303f"],["9e68369a85e89910"],["319fd1482f217395"],[]],"info":"Just expand the flow.count to how ever many\npresses you want/need."},{"id":"ba72e20d.299b8","type":"trigger","z":"65c9b63cb09879a0","name":"","op1":"","op2":"0","op1type":"nul","op2type":"str","duration":"1","extend":true,"overrideDelay":false,"units":"s","reset":"","bytopic":"all","topic":"topic","outputs":1,"x":260,"y":560,"wires":[["62860129.ec7bd","4189a6d1.44073"]]},{"id":"9faf97df.4ce4a","type":"change","z":"65c9b63cb09879a0","name":"Flow set","rules":[{"t":"set","p":"count","pt":"flow","to":"count","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":600,"y":440,"wires":[[]]},{"id":"a1783324.3f9f","type":"comment","z":"65c9b63cb09879a0","name":"DELAY - Readme","info":"The DELAY time has to be a bit longer than how\nlong it takes you to press the button the\nmaximum number of times.\nRead information in the SWITCH node too!","x":460,"y":360,"wires":[]},{"id":"62860129.ec7bd","type":"delay","z":"65c9b63cb09879a0","name":"Delay","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"x":250,"y":500,"wires":[["1139a03d.d1ca"]]},{"id":"2f05171a0b501cfc","type":"function","z":"65c9b63cb09879a0","name":"On (50%)","func":"msg.payload = { state: 'on', color: 'normal', brightness: 125};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":460,"wires":[["5ad5353f077667e4","fda71aa47391a95e"]]},{"id":"5ad5353f077667e4","type":"tradfri-out","z":"65c9b63cb09879a0","name":"Dressing_1","dtype":"device","tradfri_id":"65547","hub":"f7462bcc3e35f81d","output":false,"x":1390,"y":440,"wires":[]},{"id":"b13dca185f5973db","type":"zigbee2mqtt-in","z":"65c9b63cb09879a0","name":"","server":"fc1c5c0fa4dfb0a4","friendly_name":"ON_OFF Test Switch","device_id":"0xb4e3f9fffeaee21d","state":"0","outputAtStartup":true,"x":140,"y":160,"wires":[["af5a6c71aad07e57","60d9ce35eb1c660a"]]},{"id":"af5a6c71aad07e57","type":"switch","z":"65c9b63cb09879a0","name":"payload.click","property":"payload.click","propertyType":"msg","rules":[{"t":"eq","v":"on","vt":"str"},{"t":"eq","v":"off","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":360,"y":160,"wires":[["47b7f66d060874bf"],["b7f1086d7ed56641"]]},{"id":"47b7f66d060874bf","type":"function","z":"65c9b63cb09879a0","name":"Lights on","func":"msg.payload.Time = new Date()\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":540,"y":120,"wires":[["e0465b654d645770"]]},{"id":"b7f1086d7ed56641","type":"function","z":"65c9b63cb09879a0","name":"Lights off","func":"msg.payload = { state: 'off'};\nmsg.reset = 1;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":540,"y":200,"wires":[["79e04a367ae31c1a"]]},{"id":"e0465b654d645770","type":"link out","z":"65c9b63cb09879a0","name":"Lights on","links":["3a058dc49f4238c1"],"x":645,"y":120,"wires":[]},{"id":"79e04a367ae31c1a","type":"link out","z":"65c9b63cb09879a0","name":"Lights off","links":["a70169bcfe279017"],"x":645,"y":200,"wires":[]},{"id":"6c091b564ffbb4b3","type":"comment","z":"65c9b63cb09879a0","name":"Switch control","info":"","x":110,"y":40,"wires":[]},{"id":"c893051dcda91de5","type":"comment","z":"65c9b63cb09879a0","name":"Switch control","info":"","x":110,"y":340,"wires":[]},{"id":"3a058dc49f4238c1","type":"link in","z":"65c9b63cb09879a0","name":"Lights on","links":["e0465b654d645770"],"x":55,"y":520,"wires":[["ba72e20d.299b8","fcb3cb17.693a9"]]},{"id":"4b346299aded303f","type":"trigger","z":"65c9b63cb09879a0","name":"Auto off (10 min)","op1":"on","op2":"off","op1type":"str","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"min","reset":"off","bytopic":"all","topic":"topic","outputs":2,"x":820,"y":460,"wires":[["0c1733e2f48d81bd"],["5ad5353f077667e4","fda71aa47391a95e"]]},{"id":"0c1733e2f48d81bd","type":"time-range-switch","z":"65c9b63cb09879a0","name":"","lat":"55.555","lon":"5.555","startTime":"22:00","endTime":"23:00","startOffset":0,"endOffset":0,"x":1010,"y":440,"wires":[["96d9aef7f7a2bf15"],["2f05171a0b501cfc"]]},{"id":"96d9aef7f7a2bf15","type":"function","z":"65c9b63cb09879a0","name":"On (30%)","func":"msg.payload = { state: 'on', color: 'normal', brightness: 76};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":420,"wires":[["5ad5353f077667e4","fda71aa47391a95e"]]},{"id":"919a27e8cbdec579","type":"function","z":"65c9b63cb09879a0","name":"On (50%)","func":"msg.payload = { state: 'on', color: 'normal', brightness: 125};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":560,"wires":[["835ab6d24f6a1881","b4e9496fcb739307"]]},{"id":"835ab6d24f6a1881","type":"tradfri-out","z":"65c9b63cb09879a0","name":"Dressing_2","dtype":"device","tradfri_id":"65546","hub":"f7462bcc3e35f81d","output":false,"x":1390,"y":540,"wires":[]},{"id":"9e68369a85e89910","type":"trigger","z":"65c9b63cb09879a0","name":"Auto off (10 min)","op1":"on","op2":"off","op1type":"str","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"min","reset":"off","bytopic":"all","topic":"topic","outputs":2,"x":820,"y":560,"wires":[["cfaf602f18f910c0"],["835ab6d24f6a1881","b4e9496fcb739307"]]},{"id":"cfaf602f18f910c0","type":"time-range-switch","z":"65c9b63cb09879a0","name":"","lat":"55.555","lon":"5.555","startTime":"22:00","endTime":"23:00","startOffset":0,"endOffset":0,"x":1010,"y":540,"wires":[["ecb1aa477a2efaf4"],["919a27e8cbdec579"]]},{"id":"ecb1aa477a2efaf4","type":"function","z":"65c9b63cb09879a0","name":"On (30%)","func":"msg.payload = { state: 'on', color: 'normal', brightness: 76};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":520,"wires":[["835ab6d24f6a1881","b4e9496fcb739307"]]},{"id":"db18d277aa6631d3","type":"function","z":"65c9b63cb09879a0","name":"On (50%)","func":"msg.payload = { state: 'on', color: 'normal', brightness: 125};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":660,"wires":[["c8a0eb100c95c0cc","0b527b3814ea5232"]]},{"id":"c8a0eb100c95c0cc","type":"tradfri-out","z":"65c9b63cb09879a0","name":"Kleerkast","dtype":"device","tradfri_id":"65545","hub":"f7462bcc3e35f81d","output":false,"x":1380,"y":640,"wires":[]},{"id":"319fd1482f217395","type":"trigger","z":"65c9b63cb09879a0","name":"Auto off (10 min)","op1":"on","op2":"off","op1type":"str","op2type":"str","duration":"1","extend":false,"overrideDelay":false,"units":"min","reset":"off","bytopic":"all","topic":"topic","outputs":2,"x":820,"y":660,"wires":[["bd649c06e040eb0b"],["c8a0eb100c95c0cc","0b527b3814ea5232"]]},{"id":"bd649c06e040eb0b","type":"time-range-switch","z":"65c9b63cb09879a0","name":"","lat":"55.555","lon":"5.555","startTime":"22:00","endTime":"23:00","startOffset":0,"endOffset":0,"x":1010,"y":640,"wires":[["4640deb8d9c49602"],["db18d277aa6631d3"]]},{"id":"4640deb8d9c49602","type":"function","z":"65c9b63cb09879a0","name":"On (30%)","func":"msg.payload = { state: 'on', color: 'normal', brightness: 76};\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":1200,"y":620,"wires":[["c8a0eb100c95c0cc","0b527b3814ea5232"]]},{"id":"a70169bcfe279017","type":"link in","z":"65c9b63cb09879a0","name":"Lights off","links":["79e04a367ae31c1a"],"x":1295,"y":320,"wires":[["5ad5353f077667e4","fda71aa47391a95e","835ab6d24f6a1881","b4e9496fcb739307","c8a0eb100c95c0cc","0b527b3814ea5232","4b346299aded303f","9e68369a85e89910","319fd1482f217395"]]},{"id":"fda71aa47391a95e","type":"debug","z":"65c9b63cb09879a0","name":"Light 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1370,"y":480,"wires":[]},{"id":"b4e9496fcb739307","type":"debug","z":"65c9b63cb09879a0","name":"Light 2","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1370,"y":580,"wires":[]},{"id":"0b527b3814ea5232","type":"debug","z":"65c9b63cb09879a0","name":"Light 3","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":1370,"y":680,"wires":[]},{"id":"60d9ce35eb1c660a","type":"debug","z":"65c9b63cb09879a0","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":340,"y":100,"wires":[]},{"id":"f33cfcaf1d83f349","type":"inject","z":"65c9b63cb09879a0","name":"Reset","props":[{"p":"payload","v":"","vt":"date"},{"p":"topic","v":"","vt":"string"}],"repeat":"","crontab":"","once":true,"onceDelay":"0.5","topic":"","payload":"","payloadType":"date","x":250,"y":440,"wires":[["1139a03d.d1ca"]]},{"id":"f7462bcc3e35f81d","type":"tradfri-config","name":"Ikea Hub","hubip":"xxx.xxx.xxx.xxx","sid":"a0a0a0a0a0a0a0a0","coap":"/home/pi/.node-red/node_modules/node-tradfri-argon/lib/coap-client-raspbian","identity":"","preshared_key":""},{"id":"","type":"zigbee2mqtt-server","name":"Raspi","host":"xxx.xxx.xxx.xxx","mqtt_port":"1883","mqtt_username":"","mqtt_password":"","tls":"","usetls":false,"base_topic":"zigbee2mqtt"}]