Procházet zdrojové kódy

Black being fussy about indentation

Jason Rumney před 2 roky
rodič
revize
69e90b04d2
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  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: