Explorar el Código

Missed one file with black.

Jason Rumney hace 5 años
padre
commit
c1ff9a8bc9
Se han modificado 1 ficheros con 1 adiciones y 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."""
         """Return current preset mode, ie Comfort, Eco, Anti-freeze."""
         dps_mode = self._device.get_property(PROPERTY_TO_DPS_ID[ATTR_PRESET_MODE])
         dps_mode = self._device.get_property(PROPERTY_TO_DPS_ID[ATTR_PRESET_MODE])
         if dps_mode is not None:
         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:
         else:
             return None
             return None