HI Bastian Blank ,
We verified the below change on s390, the pytest is passing now. Can we close
this bug if everything is fine?
>>>>>
--- a/src/xiaomi_ble/parser.py
+++ b/src/xiaomi_ble/parser.py
@@ -1171,7 +1171,7 @@
xobj: bytes, device: XiaomiBluetoothDeviceData, device_type: str
) -> dict[str, Any]:
"""Motion detected with Illuminance in lux"""
- (illum,) = struct.unpack("f", xobj)
+ (illum,) = struct.unpack("<f", xobj)
device.update_predefined_binary_sensor(BinarySensorDeviceClass.MOTION,
True)
device.update_predefined_sensor(SensorLibrary.LIGHT__LIGHT_LUX, illum)
return {}
Thanks,
Gayathri