mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-07-20 18:41:35 +00:00
Support WXKG03LM. #4
This commit is contained in:
@@ -168,6 +168,12 @@ const parsers = [
|
||||
type: 'attReport',
|
||||
convert: (msg) => {return {click: WXKG02LM[msg.endpoints[0].epId]}}
|
||||
},
|
||||
{
|
||||
devices: ['WXKG03LM'],
|
||||
cid: 'genOnOff',
|
||||
type: 'attReport',
|
||||
convert: (msg) => {return {click: 'single'}}
|
||||
},
|
||||
{
|
||||
devices: ['SJCGQ11LM'],
|
||||
cid: 'genBasic',
|
||||
|
||||
@@ -119,6 +119,13 @@ const devices = {
|
||||
supports: 'single, double, triple, quadruple click',
|
||||
homeassistant: [homeassistant.sensor_button]
|
||||
},
|
||||
'lumi.sensor_86sw1\u0000lu': {
|
||||
model: 'WXKG03LM',
|
||||
vendor: 'Xiaomi',
|
||||
description: 'Aqara single key wireless wall switch',
|
||||
supports: 'single click',
|
||||
homeassistant: [homeassistant.sensor_button]
|
||||
},
|
||||
'lumi.sensor_86sw2\u0000Un': {
|
||||
model: 'WXKG02LM',
|
||||
vendor: 'Xiaomi',
|
||||
|
||||
Reference in New Issue
Block a user