Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions custom_components/sat/mqtt/opentherm.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,18 @@ def get_tracked_entities(self) -> list[str]:
]

async def async_set_control_setpoint(self, value: float) -> None:
await self._publish_command(f"CS={value}")
await self._publish_command(f"CS={value:.1f}")
await self._publish_command(f"PM=25")

await super().async_set_control_setpoint(value)

async def async_set_control_hot_water_setpoint(self, value: float) -> None:
await self._publish_command(f"SW={value}")
await self._publish_command(f"SW={value:.1f}")

await super().async_set_control_hot_water_setpoint(value)

async def async_set_control_thermostat_setpoint(self, value: float) -> None:
await self._publish_command(f"TC={value}")
await self._publish_command(f"TC={value:.1f}")

await super().async_set_control_thermostat_setpoint(value)

Expand All @@ -212,7 +212,7 @@ async def async_set_control_max_relative_modulation(self, value: int) -> None:
await super().async_set_control_max_relative_modulation(value)

async def async_set_control_max_setpoint(self, value: float) -> None:
await self._publish_command(f"SH={value}")
await self._publish_command(f"SH={value:.1f}")

await super().async_set_control_max_setpoint(value)

Expand Down