PyPlumIO 0.5.34__py3-none-any.whl → 0.5.35__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.
- {PyPlumIO-0.5.34.dist-info → PyPlumIO-0.5.35.dist-info}/METADATA +1 -1
- {PyPlumIO-0.5.34.dist-info → PyPlumIO-0.5.35.dist-info}/RECORD +9 -9
- pyplumio/_version.py +2 -2
- pyplumio/devices/__init__.py +5 -4
- pyplumio/exceptions.py +4 -0
- pyplumio/helpers/parameter.py +1 -1
- {PyPlumIO-0.5.34.dist-info → PyPlumIO-0.5.35.dist-info}/LICENSE +0 -0
- {PyPlumIO-0.5.34.dist-info → PyPlumIO-0.5.35.dist-info}/WHEEL +0 -0
- {PyPlumIO-0.5.34.dist-info → PyPlumIO-0.5.35.dist-info}/top_level.txt +0 -0
@@ -1,15 +1,15 @@
|
|
1
1
|
pyplumio/__init__.py,sha256=ditJTIOFGJDg60atHzOpiggdUrZHpSynno7MtpZUGVk,3299
|
2
2
|
pyplumio/__main__.py,sha256=3IwHHSq-iay5FaeMc95klobe-xv82yydSKcBE7BFZ6M,500
|
3
|
-
pyplumio/_version.py,sha256=
|
3
|
+
pyplumio/_version.py,sha256=J8xgWxzK8uRktLMJfG0M8fVxK4sfrTuU-akVgfoP1wU,413
|
4
4
|
pyplumio/connection.py,sha256=6mUbcjGxxEhMVIbzZgCqH-Ez-fcYoRj7ZbVSzpikpNA,5949
|
5
5
|
pyplumio/const.py,sha256=LyXa5aVy2KxnZq7H7F8s5SYsAgEC2UzZYMMRauliB2E,5502
|
6
|
-
pyplumio/exceptions.py,sha256=
|
6
|
+
pyplumio/exceptions.py,sha256=lzZFzq9aszav_pmAbWbN4IfzAAqZe0nE0mRFsscJ3rw,772
|
7
7
|
pyplumio/filters.py,sha256=AMW1zHQ1YjJfHX7e87Dhv7AGixJ3y9Vn-_JAQn7vIsg,12526
|
8
8
|
pyplumio/protocol.py,sha256=VRxrj8vZ1FMawqblKkyxg_V61TBSvVynd9u0JXYnMUU,8090
|
9
9
|
pyplumio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
pyplumio/stream.py,sha256=Ne-mWkO6FpILAjGdagbAh_VL3QEla-eDiT2N-kOc5o4,4883
|
11
11
|
pyplumio/utils.py,sha256=TnBzRopinyp92wruguijxcIYmaeyNVTFX0dygI5FCMU,823
|
12
|
-
pyplumio/devices/__init__.py,sha256=
|
12
|
+
pyplumio/devices/__init__.py,sha256=v3EwUf2cGj9Mbxwa6kRMYqUIiREVIbxaVZaR2p5jmaE,8123
|
13
13
|
pyplumio/devices/ecomax.py,sha256=LWDIlnC2lIOF2L5obLwpHKY0KTxp81TbrMGAzk7GlSw,15528
|
14
14
|
pyplumio/devices/ecoster.py,sha256=jNWli7ye9T6yfkcFJZhhUHH7KOv-L6AgYFp_dKyv3OM,263
|
15
15
|
pyplumio/devices/mixer.py,sha256=CnHWrJELtFgs2YTHGpQwKr2UTRdetX76OvLBA2PH-fs,3207
|
@@ -22,7 +22,7 @@ pyplumio/helpers/__init__.py,sha256=H2xxdkF-9uADLwEbfBUoxNTdwru3L5Z2cfJjgsuRsn0,
|
|
22
22
|
pyplumio/helpers/data_types.py,sha256=nB3afOLmppgSCWkZoX1-1yWPNMMNSem77x7XQ1Mi8H8,9103
|
23
23
|
pyplumio/helpers/event_manager.py,sha256=xQOfiP_nP1Pz5zhB6HU5gXyyJXjhisYshL8_HRxDgt8,6412
|
24
24
|
pyplumio/helpers/factory.py,sha256=v07s9DyihfkNUzt7ndyJbNd_DLS8UpRkut_xkGrbi6c,1123
|
25
|
-
pyplumio/helpers/parameter.py,sha256=
|
25
|
+
pyplumio/helpers/parameter.py,sha256=lolBkPp69cD1ME8SVQf5VVd_R7nOtrZuhUvKCz1amIg,12390
|
26
26
|
pyplumio/helpers/schedule.py,sha256=rlq3O2Xflqks6V1rMoHKy_lww8zJJpuHFFouM2pikJw,5417
|
27
27
|
pyplumio/helpers/task_manager.py,sha256=HAd69yGTRL0zQsu-ywnbLu1UXiJzgHWuhYWA--vs4lQ,1181
|
28
28
|
pyplumio/helpers/timeout.py,sha256=JAhWNtIpcXyVILIwHWVy5mYofqbbRDGKLdTUKkQuajs,772
|
@@ -53,8 +53,8 @@ pyplumio/structures/statuses.py,sha256=wkoynyMRr1VREwfBC6vU48kPA8ZQ83pcXuciy2xHJ
|
|
53
53
|
pyplumio/structures/temperatures.py,sha256=1CDzehNmbALz1Jyt_9gZNIk52q6Wv-xQXjijVDCVYec,2337
|
54
54
|
pyplumio/structures/thermostat_parameters.py,sha256=QA-ZyulBG3P10sqgdI7rmpQYlKm9SJIXxBxAXs8Bwow,8295
|
55
55
|
pyplumio/structures/thermostat_sensors.py,sha256=8e1TxYIJTQKT0kIGO9gG4hGdLOBUpIhiPToQyOMyeNE,3237
|
56
|
-
PyPlumIO-0.5.
|
57
|
-
PyPlumIO-0.5.
|
58
|
-
PyPlumIO-0.5.
|
59
|
-
PyPlumIO-0.5.
|
60
|
-
PyPlumIO-0.5.
|
56
|
+
PyPlumIO-0.5.35.dist-info/LICENSE,sha256=m-UuZFjXJ22uPTGm9kSHS8bqjsf5T8k2wL9bJn1Y04o,1088
|
57
|
+
PyPlumIO-0.5.35.dist-info/METADATA,sha256=4QXHmKbKDme-A4wWibnMQdeopxLDsZtKHswzhoChzZ0,5510
|
58
|
+
PyPlumIO-0.5.35.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
59
|
+
PyPlumIO-0.5.35.dist-info/top_level.txt,sha256=kNBz9UPPkPD9teDn3U_sEy5LjzwLm9KfADCXtBlbw8A,9
|
60
|
+
PyPlumIO-0.5.35.dist-info/RECORD,,
|
pyplumio/_version.py
CHANGED
pyplumio/devices/__init__.py
CHANGED
@@ -9,7 +9,7 @@ import logging
|
|
9
9
|
from typing import Any, ClassVar
|
10
10
|
|
11
11
|
from pyplumio.const import ATTR_FRAME_ERRORS, ATTR_LOADED, DeviceType, FrameType
|
12
|
-
from pyplumio.exceptions import UnknownDeviceError
|
12
|
+
from pyplumio.exceptions import RequestError, UnknownDeviceError
|
13
13
|
from pyplumio.frames import DataFrameDescription, Frame, Request, is_known_frame_type
|
14
14
|
from pyplumio.helpers.event_manager import EventManager
|
15
15
|
from pyplumio.helpers.factory import create_instance
|
@@ -180,7 +180,7 @@ class PhysicalDevice(Device, ABC):
|
|
180
180
|
)
|
181
181
|
|
182
182
|
errors = [
|
183
|
-
result.args[1] for result in results if isinstance(result,
|
183
|
+
result.args[1] for result in results if isinstance(result, RequestError)
|
184
184
|
]
|
185
185
|
|
186
186
|
await asyncio.gather(
|
@@ -203,9 +203,10 @@ class PhysicalDevice(Device, ABC):
|
|
203
203
|
except asyncio.TimeoutError:
|
204
204
|
retries -= 1
|
205
205
|
|
206
|
-
raise
|
206
|
+
raise RequestError(
|
207
207
|
f"Failed to request parameter '{name}' with frame type '{frame_type}' "
|
208
|
-
f"after {retries} retries."
|
208
|
+
f"after {retries} retries.",
|
209
|
+
frame_type,
|
209
210
|
)
|
210
211
|
|
211
212
|
@classmethod
|
pyplumio/exceptions.py
CHANGED
pyplumio/helpers/parameter.py
CHANGED
@@ -217,7 +217,7 @@ class Parameter(ABC):
|
|
217
217
|
while self.pending_update:
|
218
218
|
if retries <= 0:
|
219
219
|
_LOGGER.warning(
|
220
|
-
"
|
220
|
+
"Unable to confirm that parameter '%s' was set after %d retries",
|
221
221
|
self.description.name,
|
222
222
|
retries,
|
223
223
|
)
|
File without changes
|
File without changes
|
File without changes
|