python-roborock 2.9.7__tar.gz → 2.9.8__tar.gz
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.
- {python_roborock-2.9.7 → python_roborock-2.9.8}/PKG-INFO +1 -1
- {python_roborock-2.9.7 → python_roborock-2.9.8}/pyproject.toml +1 -1
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/api.py +4 -1
- {python_roborock-2.9.7 → python_roborock-2.9.8}/LICENSE +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/README.md +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/__init__.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/cli.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/cloud_api.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/code_mappings.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/command_cache.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/const.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/containers.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/exceptions.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/local_api.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/protocol.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/py.typed +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/roborock_future.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/roborock_message.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/roborock_typing.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/util.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/__init__.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/roborock_client_v1.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/roborock_local_client_v1.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/roborock_mqtt_client_v1.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_a01_apis/__init__.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_a01_apis/roborock_client_a01.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_a01_apis/roborock_mqtt_client_a01.py +0 -0
- {python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/web_api.py +0 -0
|
@@ -20,6 +20,7 @@ from .exceptions import (
|
|
|
20
20
|
from .roborock_future import RoborockFuture
|
|
21
21
|
from .roborock_message import (
|
|
22
22
|
RoborockMessage,
|
|
23
|
+
RoborockMessageProtocol,
|
|
23
24
|
)
|
|
24
25
|
from .util import get_next_int
|
|
25
26
|
|
|
@@ -101,7 +102,9 @@ class RoborockClient(ABC):
|
|
|
101
102
|
|
|
102
103
|
def _async_response(self, request_id: int, protocol_id: int = 0) -> Any:
|
|
103
104
|
queue = RoborockFuture(protocol_id)
|
|
104
|
-
if request_id in self._waiting_queue
|
|
105
|
+
if request_id in self._waiting_queue and not (
|
|
106
|
+
request_id == 2 and protocol_id == RoborockMessageProtocol.PING_REQUEST
|
|
107
|
+
):
|
|
105
108
|
new_id = get_next_int(10000, 32767)
|
|
106
109
|
self._logger.warning(
|
|
107
110
|
"Attempting to create a future with an existing id %s (%s)... New id is %s. "
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/roborock_client_v1.py
RENAMED
|
File without changes
|
{python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/roborock_local_client_v1.py
RENAMED
|
File without changes
|
{python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_1_apis/roborock_mqtt_client_v1.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_roborock-2.9.7 → python_roborock-2.9.8}/roborock/version_a01_apis/roborock_client_a01.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|