Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

Commit

Permalink
fix: timed controlled for dhw (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasgermain authored Oct 10, 2023
1 parent a988cd7 commit c226dc6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions custom_components/multimatic/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,7 @@ class DHWClimate(MultimaticClimate):
QuickModes.PARTY: [HVACMode.OFF, PRESET_HOME],
OperatingModes.ON: [HVACMode.HEAT, PRESET_NONE],
OperatingModes.AUTO: [HVACMode.AUTO, PRESET_COMFORT],
OperatingModes.TIME_CONTROLLED: [HVACMode.AUTO, PRESET_COMFORT],
}

def __init__(self, coordinator: MultimaticCoordinator) -> None:
Expand Down
2 changes: 2 additions & 0 deletions custom_components/multimatic/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,8 @@ async def set_hot_water_operating_mode(self, entity, mode):
self._quick_mode = mode
touch_system = True
else:
if self._application == SENSO and mode == OperatingModes.AUTO:
mode = OperatingModes.TIME_CONTROLLED
await self._manager.set_hot_water_operating_mode(hotwater.id, mode)
hotwater.operating_mode = mode

Expand Down
2 changes: 1 addition & 1 deletion custom_components/multimatic/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"homekit": {},
"dependencies": [],
"codeowners": ["@thomasgermain"],
"version": "1.16.0",
"version": "1.16.1",
"iot_class": "cloud_polling",
"integration_type": "hub"
}

0 comments on commit c226dc6

Please sign in to comment.