python-roborock 5.23.0__py3-none-any.whl → 5.23.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-roborock
3
- Version: 5.23.0
3
+ Version: 5.23.1
4
4
  Summary: A package to control Roborock vacuums.
5
5
  Project-URL: Repository, https://github.com/python-roborock/python-roborock
6
6
  Project-URL: Documentation, https://python-roborock.readthedocs.io/
@@ -41,7 +41,7 @@ roborock/devices/rpc/__init__.py,sha256=MDtZovvHi3F4Wbgyzu6gyjAjkZ6xYGU1LRQmtiIa
41
41
  roborock/devices/rpc/a01_channel.py,sha256=9Cf3AlTTAHbts7sodX4gAXAGOIf5CA6WtqykZcYAfnk,3350
42
42
  roborock/devices/rpc/b01_q10_channel.py,sha256=stXKvkN3t0m0Reosu54CbVDuMwhrZIOc-pL4ZJ7IAxk,1929
43
43
  roborock/devices/rpc/b01_q7_channel.py,sha256=Dz6WnAKTzXS21auv17CDHmJrkLWzHoXE1uAgAXcQsVo,6163
44
- roborock/devices/rpc/v1_channel.py,sha256=JOrwj5KEbiKORUzDjgRw0lJE_TAyrrC36ck1kXno0ys,21985
44
+ roborock/devices/rpc/v1_channel.py,sha256=aYlBZ0zC7jbwJhhHvKzBfHUZLAf7KOmIPOJQiiLKwvE,22275
45
45
  roborock/devices/traits/__init__.py,sha256=YaL9qoxG6IBG0XXDP0HMTvoc0Jkmq7AF6iH2oYWNtcg,765
46
46
  roborock/devices/traits/common.py,sha256=KUlXvx2UcFVeNXEhPiCAdy2APu7zrJmM_jME_bM8Odg,4474
47
47
  roborock/devices/traits/traits_mixin.py,sha256=7t15l_Ty1cN-3-fKNtRH1XR6-mfadPnTBCQRZP4rAtc,2092
@@ -110,8 +110,8 @@ roborock/protocols/a01_protocol.py,sha256=JCIhUuVNamcENu0gtZR2x8rBz6dpAZLcbA-NQg
110
110
  roborock/protocols/b01_q10_protocol.py,sha256=Ac3_VHJ2DAwBiXFMPYOHExEV0prxS9Ju0djiC8nKtiI,4935
111
111
  roborock/protocols/b01_q7_protocol.py,sha256=o8repRrxhxknzspsg1K27ds643rs87ilWXbj8RJtOCs,4619
112
112
  roborock/protocols/v1_protocol.py,sha256=uA-EMXd1AUBAXjkjAm0VxZlPLre0v2X9Kei5UqyPzaY,11141
113
- python_roborock-5.23.0.dist-info/METADATA,sha256=eVOPuf9wIRuHi99QmDUtivH0VZzwldxtj4H4ogUnFw4,5281
114
- python_roborock-5.23.0.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
115
- python_roborock-5.23.0.dist-info/entry_points.txt,sha256=EvC1nMqi9ZXKgZnqlNXA33v_3nzgPNjnM0mzWlrehnY,47
116
- python_roborock-5.23.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
117
- python_roborock-5.23.0.dist-info/RECORD,,
113
+ python_roborock-5.23.1.dist-info/METADATA,sha256=WdMWyK--ipDElhNT2i__oIcEMHwOg-1VCo4AKpJ6V58,5281
114
+ python_roborock-5.23.1.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
115
+ python_roborock-5.23.1.dist-info/entry_points.txt,sha256=EvC1nMqi9ZXKgZnqlNXA33v_3nzgPNjnM0mzWlrehnY,47
116
+ python_roborock-5.23.1.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
117
+ python_roborock-5.23.1.dist-info/RECORD,,
@@ -204,8 +204,14 @@ class V1Channel(Channel):
204
204
 
205
205
  @property
206
206
  def is_mqtt_connected(self) -> bool:
207
- """Return whether MQTT connection is available."""
208
- return self._mqtt_channel.is_connected
207
+ """Return whether MQTT connection is available for the device.
208
+
209
+ This requires the MQTT session to be connected to the broker and
210
+ the subscription to the device's topic to have successfully
211
+ been established (to handle cases where the device is offline
212
+ or deleted).
213
+ """
214
+ return self._mqtt_channel.is_connected and self._mqtt_unsub is not None
209
215
 
210
216
  @property
211
217
  def rpc_channel(self) -> V1RpcChannel: