I’m puzzled by the call service node allowing anything to trigger it. I’m working on a timer that I can adjust on the fly (flow below), however, once I set the timer the lights go off although the timer is still running. To test what was happening I connected an inject node and set the payload to string but left the field blank, after deploying I was able to turn off the light just by pressing the inject mode, so that node is just waiting for anything to trigger it. What other HA nodes could I use for turning off the lights only after the timer finished?
[{"id":"b2da8313.f985e","type":"ui_slider","z":"e6ab8208.bfbbe","name":"timer","label":"M: {{value}}","group":"4bb4b124.c9376","order":7,"width":"2","height":"1","passthru":true,"topic":"","min":"10","max":"20","step":"5","x":130,"y":619,"wires":[["4aa8dbdf.d5e544","feede093.e236f"]]},{"id":"482fc6a7.4c9858","type":"mytimeout","z":"e6ab8208.bfbbe","name":"My Timeout","outtopic":"","outsafe":"on","outwarning":"Warning","outunsafe":"off","warning":"5","timer":"300","repeat":false,"again":false,"x":530,"y":619,"wires":[["9e70f7fa.d93098","992c8aca.9c5ab8"],["e57d6a44.5ff258"]]},{"id":"4aa8dbdf.d5e544","type":"change","z":"e6ab8208.bfbbe","name":"set timer count","rules":[{"t":"set","p":"timeout","pt":"msg","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":340,"y":619,"wires":[["9acbe9d4.b79198","482fc6a7.4c9858"]]},{"id":"9acbe9d4.b79198","type":"debug","z":"e6ab8208.bfbbe","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":490,"y":699,"wires":[]},{"id":"feede093.e236f","type":"debug","z":"e6ab8208.bfbbe","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":290,"y":699,"wires":[]},{"id":"e57d6a44.5ff258","type":"debug","z":"e6ab8208.bfbbe","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":670,"y":700,"wires":[]},{"id":"9e70f7fa.d93098","type":"debug","z":"e6ab8208.bfbbe","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":690,"y":560,"wires":[]},{"id":"992c8aca.9c5ab8","type":"api-call-service","z":"e6ab8208.bfbbe","name":"Off","server":"f0aa0465.fa7ce8","service_domain":"light","service":"turn_off","data":"{\"entity_id\":\"light.master_bedroom_level\"}","mergecontext":"","x":710,"y":619,"wires":[["46378732.65a9c8"]]},{"id":"46378732.65a9c8","type":"debug","z":"e6ab8208.bfbbe","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","x":850,"y":619,"wires":[]},{"id":"4bb4b124.c9376","type":"ui_group","z":"","name":"Lights","tab":"c5e67c2b.eb40e","order":1,"disp":false,"width":"5","collapse":false},{"id":"f0aa0465.fa7ce8","type":"server","z":"","name":"Home Assistant","url":"http:\\\\xxx.xxx.x.xx:8123","pass":"PASSWORD"},{"id":"c5e67c2b.eb40e","type":"ui_tab","z":"","name":"Dashboard","icon":"dashboard"}]