How to use ':' in MQTT binding

Hi guys,

Is there a way to use a ‘:’ in the command when sending a MQTT message to the broker?
I tried the following switch item in my mqtt.items file, but that doesn’t work.

Switch mqttTestSwitch {mqtt=">[MyBroker:mediaSlaapkamer/cec/tx:state:ON:"10:04"]}

I want to send the command:

10:04

Over MQTT, is there a way to do that?
Thanks,

br,
Raymond

see:

@Dim,

Thanks that did the trick :slight_smile:

br,
Raymond

1 Like