Hi @cflurin and @HeyJonny,
I'm trying to use this same function but not having any luck with getting my MQTT output node to trigger when using my MQTT in or Inject nodes. Only the Dashboard Switch is working. Do the Link In and Link Out nodes still function as shown in the examples above or has something changed?
Any help would be appreciated
[{"id":"5c02cb03.784ce4","type":"debug","z":"d3418782.7a96e8","name":"payload out","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":669,"y":375,"wires":[]},{"id":"f014ae2b.f7bf6","type":"mqtt out","z":"d3418782.7a96e8","name":"Wall Lights","topic":"backyard/wall_lights/stat","qos":"","retain":"","broker":"fe86ba0d.da2868","x":669,"y":275,"wires":[]},{"id":"a933323f.87d1b","type":"mqtt in","z":"d3418782.7a96e8","name":"Wall Lights","topic":"backyard/wall_lights/cmnd","qos":"0","datatype":"auto","broker":"fe86ba0d.da2868","x":199,"y":275,"wires":[["9b7bfe81.38803","fb17c9e6.b5b148"]]},{"id":"13dc3b53.e7d615","type":"rpi-gpio out","z":"d3418782.7a96e8","name":"Wall Lights (31)","pin":"31","set":"","level":"0","freq":"","out":"out","x":939,"y":175,"wires":[]},{"id":"9b7bfe81.38803","type":"debug","z":"d3418782.7a96e8","name":"payload in","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":429,"y":375,"wires":[]},{"id":"fb17c9e6.b5b148","type":"ui_switch","z":"d3418782.7a96e8","name":"","label":"Wall Lights","tooltip":"","group":"cd54934d.ff379","order":2,"width":0,"height":0,"passthru":false,"decouple":"true","topic":"","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":430,"y":275,"wires":[["f014ae2b.f7bf6","5c02cb03.784ce4","b95d337d.02e3d","d533ddfc.eba7f"]]},{"id":"b95d337d.02e3d","type":"change","z":"d3418782.7a96e8","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"false","fromt":"bool","to":"0","tot":"num"},{"t":"change","p":"payload","pt":"msg","from":"true","fromt":"bool","to":"1","tot":"num"}],"action":"","property":"","from":"","to":"","reg":false,"x":679,"y":175,"wires":[["13dc3b53.e7d615","176bbbff.0e1a74"]]},{"id":"bac3ec4b.86fe5","type":"inject","z":"d3418782.7a96e8","name":"ON","topic":"","payload":"true","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":209,"y":75,"wires":[["fb17c9e6.b5b148"]]},{"id":"2e861fd4.9e5b2","type":"inject","z":"d3418782.7a96e8","name":"OFF","topic":"","payload":"false","payloadType":"bool","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":209,"y":175,"wires":[["fb17c9e6.b5b148"]]},{"id":"176bbbff.0e1a74","type":"debug","z":"d3418782.7a96e8","name":"payload change","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":939,"y":275,"wires":[]},{"id":"7e91aa4d.70c154","type":"link in","z":"d3418782.7a96e8","name":"","links":["d533ddfc.eba7f"],"x":375,"y":175,"wires":[["fb17c9e6.b5b148"]]},{"id":"d533ddfc.eba7f","type":"link out","z":"d3418782.7a96e8","name":"","links":["7e91aa4d.70c154"],"x":484,"y":175,"wires":[]},{"id":"fe86ba0d.da2868","type":"mqtt-broker","z":"","name":"AutomationMQTT","broker":"192.168.1.5","port":"1883","clientid":"","usetls":false,"compatmode":false,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"cd54934d.ff379","type":"ui_group","z":"","name":"Lights","tab":"c3f2c080.1789d","disp":true,"width":"6","collapse":false},{"id":"c3f2c080.1789d","type":"ui_tab","z":"","name":"Backyard","icon":"dashboard","disabled":false,"hidden":false}]