Try setting your switches like this if you want a different/no topic when switch is pressed
[{"id":"45d92381.558c1c","type":"inject","z":"7f59364f045fd16d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"old","payload":"false","payloadType":"bool","x":180,"y":20,"wires":[["48582633.1e76c8"]]},{"id":"48582633.1e76c8","type":"change","z":"7f59364f045fd16d","name":"","rules":[],"action":"","property":"","from":"","to":"","reg":false,"x":315,"y":20,"wires":[["22f5fbba.31be4c","57d42838.19bc28"]],"l":false},{"id":"4e3cf3a7.84925c","type":"inject","z":"7f59364f045fd16d","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"old","payload":"true","payloadType":"bool","x":180,"y":60,"wires":[["48582633.1e76c8"]]},{"id":"22f5fbba.31be4c","type":"debug","z":"7f59364f045fd16d","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":630,"y":60,"wires":[]},{"id":"57d42838.19bc28","type":"ui_switch","z":"7f59364f045fd16d","name":"","label":"switch","tooltip":"","group":"8b5cde76.edd58","order":9,"width":0,"height":0,"passthru":false,"decouple":"true","topic":"new","topicType":"str","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","animate":false,"x":440,"y":20,"wires":[["22f5fbba.31be4c","48582633.1e76c8"]]},{"id":"8b5cde76.edd58","type":"ui_group","name":"","tab":"8f03e639.85956","order":1,"disp":true,"width":"12","collapse":false},{"id":"8f03e639.85956","type":"ui_tab","name":"Home","icon":"dashboard","disabled":false,"hidden":false}]
when the switch is set by incoming it passes the topic old and when you set the switch from the dashboard it passes new