fix position factor

This commit is contained in:
Patrick
2025-12-30 12:14:58 +01:00
parent 5d498b8753
commit d66cf61887

View File

@@ -227,7 +227,7 @@ class PowerViewBLE:
await self._cmd(
(
ShadeCmd.SET_POSITION,
int.to_bytes(pos1, 2, byteorder="little")
int.to_bytes(pos1*100, 2, byteorder="little")
+ int.to_bytes(pos2, 2, byteorder="little")
+ int.to_bytes(pos3, 2, byteorder="little")
+ int.to_bytes(tilt, 2, byteorder="little")