Dimmer On MQTT Not Working


I am trying to use a slider on HABPanel to control a PWM Channel on a Sonoff running TASMOTA, but can’t get it to work. I have determined that the issue is with OpenHAB, because I can control the PWM channel directly through an MQTT client, but OH is not publishing the dimmer value to the MQTT broker. Here is my item:
Dimmer PWM “pwmlight” {mqtt=">[Main:cmnd/test/pwm:command:*:default]" }
I have tried several variations of that, but none have worked; nothing is getting published to the broker.


Did you install the MQTT binding?


Yes, and I know it is functional, as a switch widget is capable of controlling the Sonoff using MQTT.