Xiaomi "original" Button
model WXKG01LM

Functionality Chart
| Action | Hub Event | Notes |
|---|---|---|
| Single press | button 1 pushed |
|
| Hold | button 1 held |
Event comes after button is released ~ |
| Double-click | button 2 pushed |
|
| Triple-click | button 3 pushed |
|
| Quadruple-click | button 4 pushed |
|
| Shizzle-click | button 5 pushed |
5 or more multi-click |
~ Note: The default minimum time required to hold the button for the held event is 1 second, and this can be changed in the preference section of the device's details page in the Hubitat Web UI |
Aqara Button
models WXKG11LM (original / new revisions) and WXKG12LM

Functionality Comparison Chart
Action|...11LM (orig)|...11LM (new)|...12LM
---|---|---|---|---
Single press | button 1 pushed | button 1 pushed| button 1 pushed
Hold | | button 1 held | button 1 held
Double-click | button 2 pushed | button 1 doubleTapped| button 1 doubleTapped
Triple-click | button 3 pushed | |
Quadruple-click | button 4 pushed | |
Shake | | | button 2 pushed
Release |button 0 pushed | button 1 released | button 1 released
Notes on hold & release for Aqara Buttons:
-
Model WXKG11LM (original revision):
The driver includes an automatically delayedbutton 0 pushedevent that by default occurs 2 seconds after a single press. The length of the delay can be changed in the preference section of the device's details page in the Hubitat Web UI. -
Models WXKG11LM (new revision) / WXKG12LM:
These two models send a "held" message when the button has been held for 400 milliseconds. This timing is hardware-based and cannot be changed, but the button can be held as long as liked. With both models a "released" message is only sent when the button is actually released.