Switch using two MQTT topics for on or off in OH3

You’ll need to create a Design Pattern: Proxy Item and a rule. Instead of creating two separate Items, one for ON and one for OFF, I’d use the publishMQTT Action in the rule to publish the message to the right topic based on whether the command was ON or OFF.

1 Like