In order to update https://www.home-assistant.io/components/binary_sensor.xiaomi_aqara/ (again) I would like to ask you to report on your buttons.
From personal experience I got:
WXKG11LM variant 1: single click, double click
WXKG11LM variant 2: single click, double click, long press
WXKG12LM: single click, double click, long press, shake
Besides these, which are referred to as the ‘squared buttons / v2’ there is also the ‘round button / v1’ of which no different variants (if they exist) are documented.
About your buttons: What is the model name and what functionality works?
Please also mention if you are using a Aqara/Mi/Mijia Hub or something else like Zigbee2mqtt.