Explorar o código

Fix syntax error on if statement

Jason Rumney %!s(int64=6) %!d(string=hai) anos
pai
achega
b902d35d9f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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."""
         hvac_mode = self.hvac_mode
 
-        if hvac_mode == HVAC_MODE_HEAT
+        if hvac_mode == HVAC_MODE_HEAT:
             return "mdi:radiator"
         else:
             return "mdi:radiator-disabled"