PyPlumIO 0.5.54__py3-none-any.whl → 0.5.55__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/_version.py +2 -2
- pyplumio/devices/ecomax.py +14 -2
- {pyplumio-0.5.54.dist-info → pyplumio-0.5.55.dist-info}/METADATA +1 -1
- {pyplumio-0.5.54.dist-info → pyplumio-0.5.55.dist-info}/RECORD +7 -7
- {pyplumio-0.5.54.dist-info → pyplumio-0.5.55.dist-info}/WHEEL +0 -0
- {pyplumio-0.5.54.dist-info → pyplumio-0.5.55.dist-info}/licenses/LICENSE +0 -0
- {pyplumio-0.5.54.dist-info → pyplumio-0.5.55.dist-info}/top_level.txt +0 -0
pyplumio/_version.py
CHANGED
@@ -28,7 +28,7 @@ version_tuple: VERSION_TUPLE
|
|
28
28
|
commit_id: COMMIT_ID
|
29
29
|
__commit_id__: COMMIT_ID
|
30
30
|
|
31
|
-
__version__ = version = '0.5.
|
32
|
-
__version_tuple__ = version_tuple = (0, 5,
|
31
|
+
__version__ = version = '0.5.55'
|
32
|
+
__version_tuple__ = version_tuple = (0, 5, 55)
|
33
33
|
|
34
34
|
__commit_id__ = commit_id = None
|
pyplumio/devices/ecomax.py
CHANGED
@@ -139,6 +139,8 @@ REQUIRED: tuple[DataFrameDescription, ...] = (
|
|
139
139
|
|
140
140
|
REQUIRED_TYPES = [description.frame_type for description in REQUIRED]
|
141
141
|
|
142
|
+
SETUP_TIMEOUT: Final = 60.0
|
143
|
+
|
142
144
|
|
143
145
|
class EcoMAX(PhysicalDevice):
|
144
146
|
"""Represents an ecoMAX controller."""
|
@@ -233,10 +235,19 @@ class EcoMAX(PhysicalDevice):
|
|
233
235
|
await super().shutdown()
|
234
236
|
|
235
237
|
@event_listener
|
236
|
-
async def on_event_setup(self, setup: bool) ->
|
238
|
+
async def on_event_setup(self, setup: bool) -> bool:
|
237
239
|
"""Request frames required to set up an ecoMAX entry."""
|
238
240
|
_LOGGER.debug("Setting up device entry")
|
239
|
-
|
241
|
+
|
242
|
+
try:
|
243
|
+
await self.wait_for(ATTR_SENSORS, timeout=SETUP_TIMEOUT)
|
244
|
+
except asyncio.TimeoutError:
|
245
|
+
_LOGGER.error(
|
246
|
+
"Could not setup device entry; no response from device for %u seconds",
|
247
|
+
SETUP_TIMEOUT,
|
248
|
+
)
|
249
|
+
return False
|
250
|
+
|
240
251
|
results = await asyncio.gather(
|
241
252
|
*(
|
242
253
|
self.request(description.provides, description.frame_type)
|
@@ -253,6 +264,7 @@ class EcoMAX(PhysicalDevice):
|
|
253
264
|
self.dispatch_nowait(ATTR_FRAME_ERRORS, errors)
|
254
265
|
|
255
266
|
_LOGGER.debug("Device entry setup done")
|
267
|
+
return True
|
256
268
|
|
257
269
|
@event_listener
|
258
270
|
async def on_event_ecomax_parameters(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
pyplumio/__init__.py,sha256=3H5SO4WFw5mBTFeEyD4w0H8-MsNo93NyOH3RyMN7IS0,3337
|
2
2
|
pyplumio/__main__.py,sha256=3IwHHSq-iay5FaeMc95klobe-xv82yydSKcBE7BFZ6M,500
|
3
|
-
pyplumio/_version.py,sha256=
|
3
|
+
pyplumio/_version.py,sha256=G1TzBNDMFivoxxcx0zhCWDpZU92nh3Fwl-CwzCVn15g,706
|
4
4
|
pyplumio/connection.py,sha256=u-iOzEUqoEEL4YLpLtzBWi5Qy8_RABgKD8DyXf-er-4,5892
|
5
5
|
pyplumio/const.py,sha256=eoq-WNJ8TO3YlP7dC7KkVQRKGjt9FbRZ6M__s29vb1U,5659
|
6
6
|
pyplumio/data_types.py,sha256=BTDxwErRo_odvFT5DNfIniNh8ZfyjRKEDaJmoEJqdEg,9426
|
@@ -11,7 +11,7 @@ pyplumio/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
pyplumio/stream.py,sha256=zFMKZ_GxsSGcaBTJigVM1CK3uGjlEJXgcvKqus8MDzk,7740
|
12
12
|
pyplumio/utils.py,sha256=ktV8_Th2DiwQ0W6afOCau9kBJ8pOrqR-SM2Y2GRy-xE,1869
|
13
13
|
pyplumio/devices/__init__.py,sha256=d0E5hTV7UPa8flq8TNlKf_jt4cOSbRigSE9jjDHrmDI,8302
|
14
|
-
pyplumio/devices/ecomax.py,sha256=
|
14
|
+
pyplumio/devices/ecomax.py,sha256=1QasnLFgNCplSoDXXe5wUr8JQjr6ChSEGijamXtJZVM,16356
|
15
15
|
pyplumio/devices/ecoster.py,sha256=X46ky5XT8jHMFq9sBW0ve8ZI_tjItQDMt4moXsW-ogY,307
|
16
16
|
pyplumio/devices/mixer.py,sha256=7WdUVgwO4VXmaPNzh3ZWpKr2ooRXWemz2KFHAw35_Rk,2731
|
17
17
|
pyplumio/devices/thermostat.py,sha256=MHMKe45fQ7jKlhBVObJ7McbYQKuF6-LOKSHy-9VNsCU,2253
|
@@ -56,8 +56,8 @@ pyplumio/structures/statuses.py,sha256=1h-EUw1UtuS44E19cNOSavUgZeAxsLgX3iS0eVC8p
|
|
56
56
|
pyplumio/structures/temperatures.py,sha256=2VD3P_vwp9PEBkOn2-WhifOR8w-UYNq35aAxle0z2Vg,2831
|
57
57
|
pyplumio/structures/thermostat_parameters.py,sha256=st3x3HkjQm3hqBrn_fpvPDQu8fuc-Sx33ONB19ViQak,3007
|
58
58
|
pyplumio/structures/thermostat_sensors.py,sha256=rO9jTZWGQpThtJqVdbbv8sYMYHxJi4MfwZQza69L2zw,3399
|
59
|
-
pyplumio-0.5.
|
60
|
-
pyplumio-0.5.
|
61
|
-
pyplumio-0.5.
|
62
|
-
pyplumio-0.5.
|
63
|
-
pyplumio-0.5.
|
59
|
+
pyplumio-0.5.55.dist-info/licenses/LICENSE,sha256=m-UuZFjXJ22uPTGm9kSHS8bqjsf5T8k2wL9bJn1Y04o,1088
|
60
|
+
pyplumio-0.5.55.dist-info/METADATA,sha256=85fX-7JuFsPkNo-zO8RJrM-m82-c_V3eJHr6pMNblOk,5617
|
61
|
+
pyplumio-0.5.55.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
62
|
+
pyplumio-0.5.55.dist-info/top_level.txt,sha256=kNBz9UPPkPD9teDn3U_sEy5LjzwLm9KfADCXtBlbw8A,9
|
63
|
+
pyplumio-0.5.55.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|