MQTT 2.4 update, using outgoing value format

I have an old mqtt binding switch.items as


I set up a new MQTT Item with a new channel. The Channel MQTT Command Topic should start off with


What should the transform be? I have to transform the OFF to 0


Given that the 2.4 binding is now well over a year old now I’m not sure. With the 2.5 version of the binding there is a “Custom ON/OPEN” and “Custom OFF/CLOSED” field you can put the 1 and 0 into and it will transform as you require. Other alternatives include using the MAP transform to transform the ON/OFF to 1/0.