fix position factor
This commit is contained in:
1 parent
5d498b8753
commit
d66cf61887
1 file changed
+1
-1
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user