Xiaomi Button - Redundant MQTT Publish

Hi Team,

I am getting this when pressing the Xiaomi Button:

Zigbee2MQTT:info 2020-11-10 18:59:13: MQTT publish: topic ‘zigbee2mqtt/0x00158d000577f2ee’, payload ‘{“action”:“single”,“battery”:100,“linkquality”:63,“voltage”:3052}’
Zigbee2MQTT:info 2020-11-10 18:59:13: MQTT publish: topic ‘zigbee2mqtt/0x00158d000577f2ee’, payload ‘{“battery”:100,“click”:“single”,“linkquality”:63,“voltage”:3052}’

Can I somehow fix this? The information is redundant, just action/click is the same value, just different JSON key for it.

Thanks,
Robert

Add legacy: false in the devices.yaml.

e.g.
‘0x00158d000XXXXXXX’:
friendly_name: bedroom_light_switch
legacy: false