PyPlumIO 0.5.32__py3-none-any.whl → 0.5.33__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.32.dist-info → PyPlumIO-0.5.33.dist-info}/METADATA +1 -1
- {PyPlumIO-0.5.32.dist-info → PyPlumIO-0.5.33.dist-info}/RECORD +7 -7
- pyplumio/_version.py +2 -2
- pyplumio/devices/__init__.py +5 -8
- {PyPlumIO-0.5.32.dist-info → PyPlumIO-0.5.33.dist-info}/LICENSE +0 -0
- {PyPlumIO-0.5.32.dist-info → PyPlumIO-0.5.33.dist-info}/WHEEL +0 -0
- {PyPlumIO-0.5.32.dist-info → PyPlumIO-0.5.33.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
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=d2snzG_5UV96MrQixDY6w_MQnsJ44n12onZwU8NUqBM,413
|
4
4
|
pyplumio/connection.py,sha256=6mUbcjGxxEhMVIbzZgCqH-Ez-fcYoRj7ZbVSzpikpNA,5949
|
5
5
|
pyplumio/const.py,sha256=LyXa5aVy2KxnZq7H7F8s5SYsAgEC2UzZYMMRauliB2E,5502
|
6
6
|
pyplumio/exceptions.py,sha256=Wn-y5AJ5xfaBlHhTUVKB27_0Us8_OVHqh-sicnr9sYA,700
|
@@ -9,7 +9,7 @@ pyplumio/protocol.py,sha256=VRxrj8vZ1FMawqblKkyxg_V61TBSvVynd9u0JXYnMUU,8090
|
|
9
9
|
pyplumio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
10
10
|
pyplumio/stream.py,sha256=mtMpnUR3TfEmL5JUGXr6GnpPGBwzCokqIKDWp4vYiVg,4654
|
11
11
|
pyplumio/utils.py,sha256=TnBzRopinyp92wruguijxcIYmaeyNVTFX0dygI5FCMU,823
|
12
|
-
pyplumio/devices/__init__.py,sha256=
|
12
|
+
pyplumio/devices/__init__.py,sha256=OQ9VEo0CxwgjiNmVQwhxjFFQt5fw4o3yTtD4U2Q4sOg,7972
|
13
13
|
pyplumio/devices/ecomax.py,sha256=ybFLJN7O3unBcyzuVmYTssBv86bPiiTGvFpFJezwUE4,15478
|
14
14
|
pyplumio/devices/ecoster.py,sha256=jNWli7ye9T6yfkcFJZhhUHH7KOv-L6AgYFp_dKyv3OM,263
|
15
15
|
pyplumio/devices/mixer.py,sha256=CnHWrJELtFgs2YTHGpQwKr2UTRdetX76OvLBA2PH-fs,3207
|
@@ -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.33.dist-info/LICENSE,sha256=m-UuZFjXJ22uPTGm9kSHS8bqjsf5T8k2wL9bJn1Y04o,1088
|
57
|
+
PyPlumIO-0.5.33.dist-info/METADATA,sha256=YKnWmXwDFxCgiaZBo4SM1d6GwMcGG-PlSTJBztuLh44,5510
|
58
|
+
PyPlumIO-0.5.33.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
59
|
+
PyPlumIO-0.5.33.dist-info/top_level.txt,sha256=kNBz9UPPkPD9teDn3U_sEy5LjzwLm9KfADCXtBlbw8A,9
|
60
|
+
PyPlumIO-0.5.33.dist-info/RECORD,,
|
pyplumio/_version.py
CHANGED
pyplumio/devices/__init__.py
CHANGED
@@ -151,15 +151,12 @@ class PhysicalDevice(Device, ABC):
|
|
151
151
|
|
152
152
|
self.subscribe(ATTR_FRAME_VERSIONS, update_frame_versions)
|
153
153
|
|
154
|
-
def has_frame_version(self, frame_type: int, version: int
|
154
|
+
def has_frame_version(self, frame_type: FrameType | int, version: int) -> bool:
|
155
155
|
"""Return True if frame data is up to date, False otherwise."""
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
return True
|
161
|
-
|
162
|
-
return False
|
156
|
+
return (
|
157
|
+
frame_type in self._frame_versions
|
158
|
+
and self._frame_versions[frame_type] == version
|
159
|
+
)
|
163
160
|
|
164
161
|
def supports_frame_type(self, frame_type: int) -> bool:
|
165
162
|
"""Check if frame type is supported by the device."""
|
File without changes
|
File without changes
|
File without changes
|