plugwise 0.37.2__py3-none-any.whl → 0.37.3__py3-none-any.whl

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/legacy/smile.py CHANGED
@@ -249,8 +249,12 @@ class SmileLegacyAPI(SmileComm, SmileLegacyData):
249
249
 
250
250
  await self._request(uri, method="put", data=data)
251
251
 
252
- async def set_temperature(self, setpoint: str, _: dict[str, float]) -> None:
252
+ async def set_temperature(self, _: str, items: dict[str, float]) -> None:
253
253
  """Set the given Temperature on the relevant Thermostat."""
254
+ setpoint: float | None = None
255
+ if "setpoint" in items:
256
+ setpoint = items["setpoint"]
257
+
254
258
  if setpoint is None:
255
259
  raise PlugwiseError(
256
260
  "Plugwise: failed setting temperature: no valid input provided"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: plugwise
3
- Version: 0.37.2
3
+ Version: 0.37.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
@@ -35,7 +35,6 @@ Classifier: Development Status :: 5 - Production/Stable
35
35
  Classifier: Intended Audience :: Developers
36
36
  Classifier: License :: OSI Approved :: MIT License
37
37
  Classifier: Operating System :: OS Independent
38
- Classifier: Programming Language :: Python :: 3.11
39
38
  Classifier: Programming Language :: Python :: 3.12
40
39
  Classifier: Topic :: Home Automation
41
40
  Requires-Python: >=3.11.0
@@ -9,9 +9,9 @@ plugwise/smile.py,sha256=_1VFG81pfuy673M8kGQVfpSX3Kdin2Xl7-KsUXNpGlY,16985
9
9
  plugwise/util.py,sha256=w24CiW-xSV3ARZAeNYZ9T5C4kJpYGCcBoIlX2BhNOYg,6618
10
10
  plugwise/legacy/data.py,sha256=y7gBG9Sg40lltB3B5CpWPtAXggMbcx2IMay-mwvOB1M,2986
11
11
  plugwise/legacy/helper.py,sha256=tSrqA2UeMO7HSYudQHAxBThBTevAOKIxHqN6NCN-r5k,18947
12
- plugwise/legacy/smile.py,sha256=_oyI7zZhqT9Vced8jHQxN-eWIiaR4xuWKAxEBDQVfF4,10238
13
- plugwise-0.37.2.dist-info/LICENSE,sha256=mL22BjmXtg_wnoDnnaqps5_Bg_VGj_yHueX5lsKwbCc,1144
14
- plugwise-0.37.2.dist-info/METADATA,sha256=YlNRTSOSaB8X-lZ0pdEun3q3Z2aEzO82NOgYqOQgDgQ,8990
15
- plugwise-0.37.2.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
16
- plugwise-0.37.2.dist-info/top_level.txt,sha256=MYOmktMFf8ZmX6_OE1y9MoCZFfY-L8DA0F2tA2IvE4s,9
17
- plugwise-0.37.2.dist-info/RECORD,,
12
+ plugwise/legacy/smile.py,sha256=JlJGg2TNl1uBeW-vLzsHzrpeizKpZqN9coiDYcedHuc,10347
13
+ plugwise-0.37.3.dist-info/LICENSE,sha256=mL22BjmXtg_wnoDnnaqps5_Bg_VGj_yHueX5lsKwbCc,1144
14
+ plugwise-0.37.3.dist-info/METADATA,sha256=Tgjez9bNSQ3C-UrLQR8cL0aZwzojQX-PYmSCaZht6N8,8939
15
+ plugwise-0.37.3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
16
+ plugwise-0.37.3.dist-info/top_level.txt,sha256=MYOmktMFf8ZmX6_OE1y9MoCZFfY-L8DA0F2tA2IvE4s,9
17
+ plugwise-0.37.3.dist-info/RECORD,,