Browse Source

Black being fussy about indentation

Jason Rumney 2 years ago
parent
commit
69e90b04d2
1 changed files with 4 additions and 4 deletions
  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)
         return self._switch_dps.get_value(self._device)
 
 
     async def async_turn_on(
     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"""
         """Turn the switch on"""
         if self._switch_dps:
         if self._switch_dps: