Thermostat Controll via MQTT

The v1 binding is very old, so you may not get much help with that aspect.

However, a workaround might be to set zigbee2mqtt so it publishes and receives values, rather than JSON strings. See below for a start:

Then you can just send the value, as in your last example.