We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98142ee + e050689 commit c6230d4Copy full SHA for c6230d4
climate.py
@@ -136,7 +136,10 @@ def hvac_mode(self):
136
@property
137
def hvac_modes(self):
138
"""Return the list of available operation modes."""
139
- return list(MODE_HA_TO_REMO.keys())
+ remo_modes = list(self._modes.keys())
140
+ ha_modes = list(map(lambda mode: MODE_REMO_TO_HA[mode], remo_modes))
141
+ ha_modes.append(HVAC_MODE_OFF)
142
+ return ha_modes
143
144
145
def fan_mode(self):
0 commit comments