Skip to content

Commit

Permalink
Update hub.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bremor authored Nov 24, 2021
1 parent f473fb9 commit ce1de4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions custom_components/bonaire_myclimate/BonairePyClimate/hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,10 @@ def server_data_received(self, data):
self.fan_mode = self._zone_info["fanSpeed"]
self.fan_modes = FAN_MODES_FAN_ONLY
self.hvac_mode = HVAC_MODE_FAN_ONLY
if self._zone_info["type"] == "heat":
self.preset_modes = self._preset_modes_heat
else:
self.preset_modes = self._preset_modes_cool
self.supported_features = SUPPORT_PRESET_MODE | SUPPORT_FAN_MODE
elif self._zone_info["type"] == "heat":
self._fan_mode_memory_heat = self._zone_info["mode"]
Expand Down

0 comments on commit ce1de4a

Please sign in to comment.