Explorar o código

Missed one file with black.

Jason Rumney %!s(int64=6) %!d(string=hai) anos
pai
achega
c1ff9a8bc9
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      custom_components/tuya_local/heater/climate.py

+ 1 - 3
custom_components/tuya_local/heater/climate.py

@@ -189,9 +189,7 @@ class GoldairHeater(ClimateDevice):
         """Return current preset mode, ie Comfort, Eco, Anti-freeze."""
         dps_mode = self._device.get_property(PROPERTY_TO_DPS_ID[ATTR_PRESET_MODE])
         if dps_mode is not None:
-            return TuyaLocalDevice.get_key_for_value(
-                PRESET_MODE_TO_DPS_MODE, dps_mode
-            )
+            return TuyaLocalDevice.get_key_for_value(PRESET_MODE_TO_DPS_MODE, dps_mode)
         else:
             return None