Aqara Buttons All-In-One [Zigbee2MQTT]

homeassistant_legacy_triggers is not the same legacy in device options. About triggers see Z2M Responding to button clicks. By default homeassistant_legacy_triggers: true and if you haven’t touched this - you don’t need to do anything.

legacy: false in device section removes the deprecated click sensor (we use action sensor instead) and it’s not required, just a recommendation.