plugwise 0.37.4__tar.gz → 0.37.5__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.37.4 → plugwise-0.37.5}/PKG-INFO +1 -1
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/__init__.py +2 -2
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/legacy/smile.py +1 -1
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/smile.py +2 -2
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise.egg-info/PKG-INFO +1 -1
- {plugwise-0.37.4 → plugwise-0.37.5}/pyproject.toml +1 -1
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_init.py +2 -2
- {plugwise-0.37.4 → plugwise-0.37.5}/LICENSE +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/README.md +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/common.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/constants.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/data.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/exceptions.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/helper.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/legacy/data.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/legacy/helper.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/py.typed +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise/util.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise.egg-info/SOURCES.txt +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise.egg-info/dependency_links.txt +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise.egg-info/requires.txt +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/plugwise.egg-info/top_level.txt +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/setup.cfg +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/setup.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_adam.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_anna.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_generic.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_legacy_anna.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_legacy_generic.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_legacy_p1.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_legacy_stretch.py +0 -0
- {plugwise-0.37.4 → plugwise-0.37.5}/tests/test_p1.py +0 -0
@@ -325,12 +325,12 @@ class Smile(SmileComm):
|
|
325
325
|
|
326
326
|
async def set_number(
|
327
327
|
self,
|
328
|
+
dev_id: str,
|
328
329
|
key: str,
|
329
330
|
temperature: float,
|
330
|
-
dev_id: str | None = None,
|
331
331
|
) -> None:
|
332
332
|
"""Set the max. Boiler or DHW setpoint on the Central Heating boiler."""
|
333
|
-
await self._smile_api.set_number(key, temperature
|
333
|
+
await self._smile_api.set_number(dev_id, key, temperature)
|
334
334
|
|
335
335
|
async def set_switch_state(
|
336
336
|
self, appl_id: str, members: list[str] | None, model: str, state: str
|
@@ -184,12 +184,12 @@ class SmileAPI(SmileComm, SmileData):
|
|
184
184
|
|
185
185
|
async def set_number(
|
186
186
|
self,
|
187
|
+
dev_id: str,
|
187
188
|
key: str,
|
188
189
|
temperature: float,
|
189
|
-
dev_id: str | None,
|
190
190
|
) -> None:
|
191
191
|
"""Set the maximum boiler- or DHW-setpoint on the Central Heating boiler or the temperature-offset on a Thermostat."""
|
192
|
-
if
|
192
|
+
if key == "temperature_offset":
|
193
193
|
await self.set_offset(dev_id, temperature)
|
194
194
|
return
|
195
195
|
|
@@ -876,7 +876,7 @@ class TestPlugwise: # pylint: disable=attribute-defined-outside-init
|
|
876
876
|
_LOGGER.info("- Adjusting temperature to %s", new_temp)
|
877
877
|
for test in ["maximum_boiler_temperature", "bogus_temperature"]:
|
878
878
|
try:
|
879
|
-
await smile.set_number(test, new_temp)
|
879
|
+
await smile.set_number("dummy", test, new_temp)
|
880
880
|
_LOGGER.info(" + tinker_max_boiler_temp worked as intended")
|
881
881
|
except pw_exceptions.PlugwiseError:
|
882
882
|
_LOGGER.info(" + tinker_max_boiler_temp failed as intended")
|
@@ -887,7 +887,7 @@ class TestPlugwise: # pylint: disable=attribute-defined-outside-init
|
|
887
887
|
new_offset = 1.0
|
888
888
|
_LOGGER.info("- Adjusting temperature offset to %s", new_offset)
|
889
889
|
try:
|
890
|
-
await smile.set_number("
|
890
|
+
await smile.set_number(dev_id, "temperature_offset", new_offset)
|
891
891
|
_LOGGER.info(" + tinker_temp_offset worked as intended")
|
892
892
|
return True
|
893
893
|
except pw_exceptions.PlugwiseError:
|
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
|