Skip to content

Commit

Permalink
Fix MCCGQ12LM (#3574)
Browse files Browse the repository at this point in the history
No converter available for 'MCCGQ12LM' with cluster 'genOnOff' and type 'attributeReport' and data '{"onOff":1}'

Input claster show 'ssIasZone' not 'genonoff'
but real data is coming from 'genonoff'.
  • Loading branch information
nukusinji authored Dec 25, 2021
1 parent 197cf35 commit d1dc963
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devices/xiaomi.js
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ module.exports = [
model: 'MCCGQ12LM',
vendor: 'Xiaomi',
description: 'Aqara T1 door & window contact sensor',
fromZigbee: [fz.ias_contact_alarm_1, fz.battery],
fromZigbee: [fz.xiaomi_contact, fz.battery],
toZigbee: [],
meta: {battery: {voltageToPercentage: '3V_2100'}},
exposes: [e.contact(), e.battery(), e.battery_voltage()],
Expand Down

0 comments on commit d1dc963

Please sign in to comment.