diff --git a/custom_components/multimatic/coordinator.py b/custom_components/multimatic/coordinator.py index 143e777..7c71b31 100644 --- a/custom_components/multimatic/coordinator.py +++ b/custom_components/multimatic/coordinator.py @@ -3,6 +3,7 @@ from datetime import timedelta import logging +import math from pymultimatic.api import ApiError, defaults from pymultimatic.model import ( @@ -201,7 +202,9 @@ async def set_hot_water_target_temperature(self, entity, target_temp): hotwater.id, OperatingModes.ON ) hotwater.operating_mode = OperatingModes.ON - await self._manager.set_hot_water_setpoint_temperature(hotwater.id, target_temp) + await self._manager.set_hot_water_setpoint_temperature( + hotwater.id, math.ceil(target_temp) + ) hotwater.target_high = target_temp await self._refresh(touch_system, entity)