Skip to content

Commit 5e615a3

Browse files
authored
Merge pull request #582 from plugwise/core_119686
Prepare for a Core-only release fixing Issue #119686
2 parents 11e81ae + fe8e29e commit 5e615a3

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.37.4 (HA-Core-only release)
4+
5+
- Fix for Core Issue #119686
6+
37
## v0.37.3
48

59
- Fix for [plugwise-beta #620](https://github.com/plugwise/plugwise-beta/issues/620)

plugwise/smile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,9 @@ async def set_gateway_mode(self, mode: str) -> None:
184184

185185
async def set_number_setpoint(self, key: str, temperature: float) -> None:
186186
"""Set the max. Boiler or DHW setpoint on the Central Heating boiler."""
187+
if key == "max_dhw_temperature":
188+
key = "domestic_hot_water_setpoint"
189+
187190
temp = str(temperature)
188191
thermostat_id: str | None = None
189192
locator = f'appliance[@id="{self._heater_id}"]/actuator_functionalities/thermostat_functionality'

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "plugwise"
7-
version = "0.37.3"
7+
version = "0.37.4"
88
license = {file = "LICENSE"}
99
description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
1010
readme = "README.md"

tests/test_init.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -875,12 +875,12 @@ async def tinker_max_boiler_temp(smile):
875875
new_temp = 60.0
876876
dev_id = None
877877
_LOGGER.info("- Adjusting temperature to %s", new_temp)
878-
for test in ["maximum_boiler_temperature", "bogus_temperature"]:
878+
for test in ["maximum_boiler_temperature", "max_dhw_temperature", "bogus_temperature"]:
879879
try:
880880
await smile.set_number_setpoint(test, dev_id, new_temp)
881-
_LOGGER.info(" + tinker_max_boiler_temp worked as intended")
881+
_LOGGER.info(" + tinker %s worked as intended", test)
882882
except pw_exceptions.PlugwiseError:
883-
_LOGGER.info(" + tinker_max_boiler_temp failed as intended")
883+
_LOGGER.info(" + tinker %s failed as intended", test)
884884

885885
@staticmethod
886886
async def tinker_temp_offset(smile, dev_id):

0 commit comments

Comments
 (0)