Skip to content

Commit

Permalink
Restore convertors for BLE toothbrush MES601 #1313
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Apr 1, 2024
1 parent 5c75afe commit 87e1955
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions custom_components/xiaomi_gateway3/core/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1382,6 +1382,14 @@
BaseConv("temperature", "sensor"),
],
"ttl": "12h",
}, {
1161: ["Xiaomi", "Toothbrush T500", "MES601"],
"spec": [
BaseConv("action", "sensor"),
BLEByteConv("battery", "sensor", mi=4106), # uint8
BLEByteConv("supply", "sensor", mi=4115), # uint8, Remaining percentage, range 0~100
BLEToothbrush("toothbrush", mi=16),
],
}, {
1249: ["Xiaomi", "Magic Cube", "XMMF01JQD", "jiqid.robot.cube"], # 4097
"spec": [
Expand Down

0 comments on commit 87e1955

Please sign in to comment.