Просмотр исходного кода

More reformatting to attract merge conflicts

Jason Rumney 5 лет назад
Родитель
Сommit
0a88b1f3c0
1 измененных файлов с 1 добавлено и 3 удалено
  1. 1 3
      custom_components/tuya_local/dehumidifier/light.py

+ 1 - 3
custom_components/tuya_local/dehumidifier/light.py

@@ -72,9 +72,7 @@ class GoldairDehumidifierLedDisplayLight(LightEntity):
         )
 
         if dps_hvac_mode != HVAC_MODE_TO_DPS_MODE[HVAC_MODE_OFF]:
-            await (
-                self.async_turn_on() if dps_display_off else self.async_turn_off()
-            )
+            await (self.async_turn_on() if dps_display_off else self.async_turn_off())
 
     async def async_update(self):
         await self._device.async_refresh()