I build a robot which opens and closes my curtains. The robot moves left and right to move the curtain.
I want to control it by MQTT.
I found the switch.mqtt option but int only allows to turn on and off. I would need a 3rd button so that I can have it move right/left/turn off. Does anybody know how to achieve this?