Skip to content

Commit d691686

Browse files
author
Ernst
committed
Add picture
1 parent a47ae48 commit d691686

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

custom_components/ble_monitor/ble_parser/relsib.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def parse_relsib(self, data: bytes, mac: bytes):
4343
result.update({"battery": 100})
4444
else:
4545
result.update({"battery": battery & 0b01111111})
46-
elif uuid16 in [0x1809] and msg_length == 22:
46+
elif uuid16 in [0x1809] and msg_length == 20:
4747
device_type = "WH52"
4848
try:
4949
temp = round((int.from_bytes(data[4:6], byteorder='big') / 65535) * 175 - 45, 2)

docs/assets/images/Relsib-WH52.png

30.1 KB
Loading

0 commit comments

Comments
 (0)