Closed amercer86 closed 6 years ago
I'm guessing there isn't. I ended up building a little flow that, when "on" or "off" is published to the topic, it stores the payload so when "toggle" is published to the topic it references the last state and does the opposite.
I dug around but wasn't able to definitively find out if there's a payload that will toggle the smartthings/device name/switch topic. (Toggle meaning if the switch is on, the payload turns it off. If it's already off, that same payload turns it on.)