Browse Source

Missed one file with black.

Jason Rumney 5 years ago
parent
commit
c1ff9a8bc9
1 changed files with 1 additions and 3 deletions
  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