Просмотр исходного кода

Black being fussy about indentation

Jason Rumney 2 лет назад
Родитель
Сommit
69e90b04d2
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      custom_components/tuya_local/fan.py

+ 4 - 4
custom_components/tuya_local/fan.py

@@ -68,10 +68,10 @@ class TuyaLocalFan(TuyaLocalEntity, FanEntity):
         return self._switch_dps.get_value(self._device)
 
     async def async_turn_on(
-            self,
-            percentage: int | None = None,
-            preset_mode: str | None = None,
-            **kwargs: Any,
+        self,
+        percentage: int | None = None,
+        preset_mode: str | None = None,
+        **kwargs: Any,
     ):
         """Turn the switch on"""
         if self._switch_dps: