plugwise 0.37.3__tar.gz → 0.37.4.1__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.37.3 → plugwise-0.37.4.1}/PKG-INFO +1 -1
  2. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/smile.py +3 -0
  3. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise.egg-info/PKG-INFO +1 -1
  4. {plugwise-0.37.3 → plugwise-0.37.4.1}/pyproject.toml +1 -1
  5. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_init.py +3 -3
  6. {plugwise-0.37.3 → plugwise-0.37.4.1}/LICENSE +0 -0
  7. {plugwise-0.37.3 → plugwise-0.37.4.1}/README.md +0 -0
  8. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/__init__.py +0 -0
  9. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/common.py +0 -0
  10. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/constants.py +0 -0
  11. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/data.py +0 -0
  12. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/exceptions.py +0 -0
  13. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/helper.py +0 -0
  14. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/legacy/data.py +0 -0
  15. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/legacy/helper.py +0 -0
  16. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/legacy/smile.py +0 -0
  17. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/py.typed +0 -0
  18. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise/util.py +0 -0
  19. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise.egg-info/SOURCES.txt +0 -0
  20. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise.egg-info/dependency_links.txt +0 -0
  21. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise.egg-info/requires.txt +0 -0
  22. {plugwise-0.37.3 → plugwise-0.37.4.1}/plugwise.egg-info/top_level.txt +0 -0
  23. {plugwise-0.37.3 → plugwise-0.37.4.1}/setup.cfg +0 -0
  24. {plugwise-0.37.3 → plugwise-0.37.4.1}/setup.py +0 -0
  25. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_adam.py +0 -0
  26. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_anna.py +0 -0
  27. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_generic.py +0 -0
  28. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_legacy_anna.py +0 -0
  29. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_legacy_generic.py +0 -0
  30. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_legacy_p1.py +0 -0
  31. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_legacy_stretch.py +0 -0
  32. {plugwise-0.37.3 → plugwise-0.37.4.1}/tests/test_p1.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plugwise
3
- Version: 0.37.3
3
+ Version: 0.37.4.1
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
@@ -184,6 +184,9 @@ class SmileAPI(SmileComm, SmileData):
184
184
 
185
185
  async def set_number_setpoint(self, key: str, temperature: float) -> None:
186
186
  """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
+
187
190
  temp = str(temperature)
188
191
  thermostat_id: str | None = None
189
192
  locator = f'appliance[@id="{self._heater_id}"]/actuator_functionalities/thermostat_functionality'
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plugwise
3
- Version: 0.37.3
3
+ Version: 0.37.4.1
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.37.3"
7
+ version = "0.37.4.1"
8
8
  license = {file = "LICENSE"}
9
9
  description = "Plugwise Smile (Adam/Anna/P1) and Stretch module for Python 3."
10
10
  readme = "README.md"
@@ -875,12 +875,12 @@ class TestPlugwise: # pylint: disable=attribute-defined-outside-init
875
875
  new_temp = 60.0
876
876
  dev_id = None
877
877
  _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"]:
879
879
  try:
880
880
  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)
882
882
  except pw_exceptions.PlugwiseError:
883
- _LOGGER.info(" + tinker_max_boiler_temp failed as intended")
883
+ _LOGGER.info(" + tinker %s failed as intended", test)
884
884
 
885
885
  @staticmethod
886
886
  async def tinker_temp_offset(smile, dev_id):
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes