Skip to content

Commit

Permalink
Add CGDK2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernst79 committed Jan 12, 2021
1 parent f6fbff7 commit efe32ef
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/ble_monitor/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
b'\x5B\x04': ("LYWSD02", False),
b'\x5B\x05': ("LYWSD03MMC", False),
b'\x76\x05': ("CGD1", False),
b'\x6F\x06': ("CGDK2", False),
b'\xd3\x06': ("MHO-C303", False),
b'\x87\x03': ("MHO-C401", False),
b'\xDF\x02': ("JQJCY01YM", False),
Expand All @@ -78,6 +79,7 @@
'LYWSD02' : [[0, 1, 9, 9, 9, 9, 9, 2], [9, 9, 9, 9, 9]],
'LYWSD03MMC' : [[0, 1, 9, 9, 9, 9, 9, 2], [9, 9, 9, 9, 9]],
'CGD1' : [[0, 1, 9, 9, 9, 9, 9, 2], [9, 9, 9, 9, 9]],
'CGDK2' : [[0, 1, 9, 9, 9, 9, 9, 2], [9, 9, 9, 9, 9]],
'MHO-C401' : [[0, 1, 9, 9, 9, 9, 9, 2], [9, 9, 9, 9, 9]],
'MHO-C303' : [[0, 1, 9, 9, 9, 9, 9, 2], [9, 9, 9, 9, 9]],
'JQJCY01YM' : [[0, 1, 9, 9, 9, 2, 9, 3], [9, 9, 9, 9, 9]],
Expand All @@ -102,6 +104,7 @@
'LYWSD02' : 'Xiaomi',
'LYWSD03MMC' : 'Xiaomi',
'CGD1' : 'ClearGrass',
'CGDK2' : 'Qingping',
'MHO-C401' : 'Miaomiaoce',
'MHO-C303' : 'Miaomiaoce',
'JQJCY01YM' : 'Honeywell',
Expand Down

0 comments on commit efe32ef

Please sign in to comment.