switch:
- platform: mqtt
name: bathroom
state_topic: "home/bathroom/gpio/13"
command_topic: "home/bathroom/gpio/13"
payload_on: "1"
payload_off: "0"
I found examples of switches in the documentation, but there are only two commands, payload_on and payload_off. I want to control the air conditioner via MQTT with multiple commands such as turn up and turn down the temperature, turn on and off, is this possible? How should I write the configuration file?