Skip to content

Commit aa57185

Browse files
committed
Improvements
1 parent c3f513e commit aa57185

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugwise/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,12 @@ async def set_number(
329329
key: str,
330330
temperature: float,
331331
) -> None:
332-
"""Set the max. Boiler or DHW setpoint on the Central Heating boiler."""
332+
"""Set the maximum boiler- or DHW-setpoint on the Central Heating boiler or the temperature-offset on a Thermostat."""
333333
await self._smile_api.set_number(dev_id, key, temperature)
334334

335-
async def set_temperature_offset(self, _: str, dev_id: str, offset: float) -> None:
335+
async def set_temperature_offset(self, dev_id: str, offset: float) -> None:
336336
"""Set the Temperature offset for thermostats that support this feature."""
337-
await self._smile_api.set_temperature_offset(dev_id, offset)
337+
await self._smile_api.set_offset(dev_id, offset)
338338

339339
async def set_switch_state(
340340
self, appl_id: str, members: list[str] | None, model: str, state: str

0 commit comments

Comments
 (0)