Can't get mqtt item to send simple integer

I also had some trouble working out what was going on with dimmers in OH3 - check this post for a working solution with MQTT (though via zigbee2mqtt).

The crucial bit for me was the extra configuration step starting at:

We have to make one small adjustment to the Item created for the Dimmer Channel: