metadata {
definition (name: "Aqara Wall Switch (QBKG11LM, QBKG12LM, neutral), Double relay (LLZKMK11LM)", namespace: "guyee", author: "Péter Gulyás") {
capability "Configuration"
capability "Refresh"
capability "PushableButton"
capability "DoubleTapableButton" // QBKG12LM only
capability "Power Meter"
capability "Energy Meter"
capability "Temperature Measurement"
command "childOn"
command "childOff"
command "childRefresh"
command "recreateChildDevices"
command "deleteChildren"
// two buttons, neutral required (QBKG12LM)
// reports:
// - endpoint 0x01, cluster 0x0006 (on/off), attr 0x0000: Left button relay state (first octet 0x00=off, 0x01=on, the rest is Xiaomi-specific stuff)
// - endpoint 0x05, cluster 0x0012 (multistate input), attr 0x0055: Left button pushed (value = 0x0001)
// - endpoint 0x02, cluster 0x0002 (on/off), attr 0x0000: Right button relay state (first octet 0x00=off, 0x01=on, the rest is Xiaomi-specific stuff)
This file has been truncated. show original