Преглед на файлове

Fix syntax error on if statement

Jason Rumney преди 6 години
родител
ревизия
b902d35d9f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      custom_components/goldair_climate/gpcv_heater/climate.py

+ 1 - 1
custom_components/goldair_climate/gpcv_heater/climate.py

@@ -70,7 +70,7 @@ class GoldairGPCVHeater(ClimateDevice):
         """Return the icon to use in the frontend for this device."""
         """Return the icon to use in the frontend for this device."""
         hvac_mode = self.hvac_mode
         hvac_mode = self.hvac_mode
 
 
-        if hvac_mode == HVAC_MODE_HEAT
+        if hvac_mode == HVAC_MODE_HEAT:
             return "mdi:radiator"
             return "mdi:radiator"
         else:
         else:
             return "mdi:radiator-disabled"
             return "mdi:radiator-disabled"