Skip to content

Commit

Permalink
Fix LYWSD02MMC support on new firmwares #1155
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Oct 15, 2023
1 parent 2ed5256 commit 1206ad6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/xiaomi_gateway3/core/converters/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,8 @@
],
"ttl": "6h" # battery every 6 hours
}, {
# https://home.miot-spec.com/spec/miaomiaoce.sensor_ht.o2
5860: ["Xiaomi", "TH Clock", "LYWSD02MMC"],
# https://home.miot-spec.com/spec/miaomiaoce.sensor_ht.t8
9538: ["Xiaomi", "TH Clock Pro", "LYWSD02MMC"],
# https://home.miot-spec.com/spec/miaomiaoce.sensor_ht.t9
Expand Down Expand Up @@ -1373,8 +1375,6 @@
1647: ["Xiaomi", "Qingping TH Lite", "CGDK2"],
1747: ["Xiaomi", "ZenMeasure Clock", "MHO-C303"],
2888: ["Xiaomi", "Qingping TH Sensor", "CGG1"], # same model as 839?!
# https://home.miot-spec.com/spec/miaomiaoce.sensor_ht.o2
5860: ["Xiaomi", "TH Clock", "LYWSD02MMC"],
"spec": [
MiBeacon, BLETemperature, BLEHumidity,
Converter("battery", "sensor", enabled=None), # no in new firmwares
Expand Down

0 comments on commit 1206ad6

Please sign in to comment.