瀏覽代碼

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."""
         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"