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.
Files changed (32) hide show
  1. {plugwise-0.38.2 → plugwise-0.38.3}/PKG-INFO +1 -1
  2. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/smile.py +6 -3
  3. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/PKG-INFO +1 -1
  4. {plugwise-0.38.2 → plugwise-0.38.3}/pyproject.toml +1 -1
  5. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_init.py +1 -1
  6. {plugwise-0.38.2 → plugwise-0.38.3}/LICENSE +0 -0
  7. {plugwise-0.38.2 → plugwise-0.38.3}/README.md +0 -0
  8. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/__init__.py +0 -0
  9. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/common.py +0 -0
  10. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/constants.py +0 -0
  11. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/data.py +0 -0
  12. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/exceptions.py +0 -0
  13. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/helper.py +0 -0
  14. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/legacy/data.py +0 -0
  15. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/legacy/helper.py +0 -0
  16. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/legacy/smile.py +0 -0
  17. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/py.typed +0 -0
  18. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise/util.py +0 -0
  19. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/SOURCES.txt +0 -0
  20. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/dependency_links.txt +0 -0
  21. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/requires.txt +0 -0
  22. {plugwise-0.38.2 → plugwise-0.38.3}/plugwise.egg-info/top_level.txt +0 -0
  23. {plugwise-0.38.2 → plugwise-0.38.3}/setup.cfg +0 -0
  24. {plugwise-0.38.2 → plugwise-0.38.3}/setup.py +0 -0
  25. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_adam.py +0 -0
  26. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_anna.py +0 -0
  27. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_generic.py +0 -0
  28. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_anna.py +0 -0
  29. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_generic.py +0 -0
  30. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_p1.py +0 -0
  31. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_legacy_stretch.py +0 -0
  32. {plugwise-0.38.2 → plugwise-0.38.3}/tests/test_p1.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plugwise
3
- Version: 0.38.2
3
+ Version: 0.38.3
4
4
  Summary: Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3.
5
5
  Home-page: https://github.com/plugwise/python-plugwise
6
6
  Author: Plugwise device owners
@@ -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
- if key == "temperature_offset":
167
- await self.set_offset(dev_id, temperature)
168
- return
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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plugwise
3
- Version: 0.38.2
3
+ Version: 0.38.3
4
4
  Summary: Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3.
5
5
  Home-page: https://github.com/plugwise/python-plugwise
6
6
  Author: Plugwise device owners
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "plugwise"
7
- version = "0.38.2"
7
+ version = "0.38.3"
8
8
  license = {file = "LICENSE"}
9
9
  description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
10
10
  readme = "README.md"
@@ -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