Fix for negative temperatures for Brifit sensors
@@ -23,7 +23,7 @@ def parse_brifit(self, data, source_mac, rssi):
brifit_mac = data[6:12]
xvalue = data[12:19]
- (volt, temp, humi, batt) = unpack(">hHHB", xvalue)
+ (volt, temp, humi, batt) = unpack(">HhHB", xvalue)
result = {
"temperature": temp / 100,
"humidity": humi / 100,
