Setting up mqtt items syntax

I recommend using mqtt 2.4 and also adding this to your zigbee2mqtt ymal file to help with transformations:

experimental:
output: attribute

For more info and examples see this topic.