فهرست منبع

Fix syntax error on if statement

Jason Rumney 5 سال پیش
والد
کامیت
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"