Apologies again. With the inject nodes:>
[{"id":"7edc9ef0.bebd18","type":"ui_switch","z":"ab3db175.f6be9","name":"","label":"switch","group":"dfdb85a8.82471","order":0,"width":0,"height":0,"passthru":true,"decouple":"false","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":339,"y":362,"wires":[["1afca744.1c0421"]]},{"id":"1afca744.1c0421","type":"Invert","z":"ab3db175.f6be9","name":"Invert","x":539,"y":362,"wires":[["256867d7.873cf8"]]},{"id":"256867d7.873cf8","type":"debug","z":"ab3db175.f6be9","name":"","active":true,"console":"false","complete":"false","x":757,"y":362,"wires":[]},{"id":"5455b0e5.a9f35","type":"inject","z":"ab3db175.f6be9","name":"","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"x":148,"y":290,"wires":[["7edc9ef0.bebd18"]]},{"id":"b62c82e0.a0682","type":"inject","z":"ab3db175.f6be9","name":"","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"x":84,"y":437,"wires":[["7edc9ef0.bebd18"]]},{"id":"dfdb85a8.82471","type":"ui_group","z":"","name":"Default","tab":"5552dd2e.54054c","disp":true,"width":"6"},{"id":"5552dd2e.54054c","type":"ui_tab","z":"","name":"Home","icon":"dashboard"}]