Xiaomi Mi Aqara switch
Here is a more or less trivial subflow to decode the Xiaomi Mi Aqara Keys if connected via Zigbee2mqtt. These Keys report single, double, triple and quadruple clicks:
zigbee2mqtt-aqara.txt (591 Bytes)
I use these to toggle several Osram Smart Plugs and Hue-Lights