plugwise 0.38.2__tar.gz → 0.38.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plugwise-0.38.2 → plugwise-0.38.3}/PKG-INFO +1 -1
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/smile.py +6 -3
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/PKG-INFO +1 -1
- {plugwise-0.38.2 → plugwise-0.38.3}/pyproject.toml +1 -1
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_init.py +1 -1
- {plugwise-0.38.2 → plugwise-0.38.3}/LICENSE +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/README.md +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/__init__.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/common.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/constants.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/data.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/exceptions.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/helper.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/legacy/data.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/legacy/helper.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/legacy/smile.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/py.typed +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/util.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/SOURCES.txt +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/dependency_links.txt +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/requires.txt +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/top_level.txt +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/setup.cfg +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/setup.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_adam.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_anna.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_generic.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_anna.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_generic.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_p1.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_stretch.py +0 -0
- {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_p1.py +0 -0
@@ -163,9 +163,12 @@ class SmileAPI(SmileComm, SmileData):
|
|
163
163
|
temperature: float,
|
164
164
|
) -> None:
|
165
165
|
"""Set the maximum boiler- or DHW-setpoint on the Central Heating boiler or the temperature-offset on a Thermostat."""
|
166
|
-
|
167
|
-
|
168
|
-
|
166
|
+
match key:
|
167
|
+
case "temperature_offset":
|
168
|
+
await self.set_offset(dev_id, temperature)
|
169
|
+
return
|
170
|
+
case "max_dhw_temperature":
|
171
|
+
key = "domestic_hot_water_setpoint"
|
169
172
|
|
170
173
|
temp = str(temperature)
|
171
174
|
thermostat_id: str | None = None
|
@@ -916,7 +916,7 @@ class TestPlugwise: # pylint: disable=attribute-defined-outside-init
|
|
916
916
|
tinker_max_boiler_temp_passed = False
|
917
917
|
new_temp = 60.0
|
918
918
|
_LOGGER.info("- Adjusting temperature to %s", new_temp)
|
919
|
-
for test in ["maximum_boiler_temperature", "bogus_temperature"]:
|
919
|
+
for test in ["maximum_boiler_temperature", "max_dhw_temperature", "bogus_temperature"]:
|
920
920
|
_LOGGER.info(" + for %s", test)
|
921
921
|
try:
|
922
922
|
await smile.set_number("dummy", test, new_temp)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|