Skip to content

Commit

Permalink
Nilan 'AUTO' mode is HA mode 'HEAT_COOL'
Browse files Browse the repository at this point in the history
  • Loading branch information
frodef committed Mar 25, 2024
1 parent 25ed07d commit 2134639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/nilan_cts600/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class CTS600Climate (CoordinatorEntity, ClimateEntity):
# Map CTS600 display text to HVACMode.
'HEAT': HVACMode.HEAT,
'COOL': HVACMode.COOL,
'AUTO': HVACMode.AUTO,
'AUTO': HVACMode.HEAT_COOL,
'OFF': HVACMode.OFF,
}
_mode_imap = {v:k for k,v in _mode_map.items()}
Expand Down Expand Up @@ -108,7 +108,7 @@ def supported_features(self):
@property
def hvac_modes(self):
"""Return the list of available hvac modes."""
return [HVACMode.HEAT, HVACMode.COOL, HVACMode.AUTO, HVACMode.OFF]
return [HVACMode.HEAT, HVACMode.COOL, HVACMode.HEAT_COOL, HVACMode.OFF]

@property
def hvac_mode(self):
Expand Down

0 comments on commit 2134639

Please sign in to comment.