فهرست منبع

cleanup (cover): fix indentation

Jason Rumney 2 روز پیش
والد
کامیت
8cdc0009b4
1فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 3 3
      custom_components/tuya_local/cover.py

+ 3 - 3
custom_components/tuya_local/cover.py

@@ -148,9 +148,9 @@ class TuyaLocalCover(TuyaLocalEntity, CoverEntity):
             return "opened"
 
         if (
-                self._currentpos_dp
-                and self._currentpos_dp.get_value(self._device) is not None
-                and self._position_dp
+            self._currentpos_dp
+            and self._currentpos_dp.get_value(self._device) is not None
+            and self._position_dp
         ):
             setpos = self._position_dp.get_value(self._device)
             if setpos == pos: