From d66cf61887eb7f1b42ec5f70ee80b873f7abfcb2 Mon Sep 17 00:00:00 2001 From: Patrick <14628713+patman15@users.noreply.github.com> Date: Tue, 30 Dec 2025 12:14:58 +0100 Subject: [PATCH] fix position factor --- custom_components/hunterdouglas_powerview_ble/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_components/hunterdouglas_powerview_ble/api.py b/custom_components/hunterdouglas_powerview_ble/api.py index 0392acc..5a6cc97 100644 --- a/custom_components/hunterdouglas_powerview_ble/api.py +++ b/custom_components/hunterdouglas_powerview_ble/api.py @@ -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")