python-roborock 2.4.0__tar.gz → 2.5.0__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.4.0 → python_roborock-2.5.0}/PKG-INFO +1 -1
- {python_roborock-2.4.0 → python_roborock-2.5.0}/pyproject.toml +1 -1
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/local_api.py +1 -1
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/roborock_client_v1.py +3 -3
- {python_roborock-2.4.0 → python_roborock-2.5.0}/LICENSE +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/README.md +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/__init__.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/api.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/cli.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/cloud_api.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/code_mappings.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/command_cache.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/const.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/containers.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/exceptions.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/protocol.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/py.typed +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/roborock_future.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/roborock_message.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/roborock_typing.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/util.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/__init__.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/roborock_local_client_v1.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/roborock_mqtt_client_v1.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_a01_apis/__init__.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_a01_apis/roborock_client_a01.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_a01_apis/roborock_mqtt_client_a01.py +0 -0
- {python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/web_api.py +0 -0
|
@@ -96,7 +96,7 @@ class RoborockLocalClient(RoborockClient, asyncio.Protocol):
|
|
|
96
96
|
except Exception as e:
|
|
97
97
|
self._logger.error(e)
|
|
98
98
|
|
|
99
|
-
async def ping(self):
|
|
99
|
+
async def ping(self) -> None:
|
|
100
100
|
request_id = 2
|
|
101
101
|
protocol = RoborockMessageProtocol.PING_REQUEST
|
|
102
102
|
return await self.send_message(
|
{python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/roborock_client_v1.py
RENAMED
|
@@ -105,7 +105,7 @@ class AttributeCache:
|
|
|
105
105
|
def stop(self):
|
|
106
106
|
self.task.cancel()
|
|
107
107
|
|
|
108
|
-
async def update_value(self, params):
|
|
108
|
+
async def update_value(self, params) -> None:
|
|
109
109
|
if self.attribute.set_command is None:
|
|
110
110
|
raise RoborockException(f"{self.attribute.attribute} have no set command")
|
|
111
111
|
response = await self.api._send_command(self.attribute.set_command, params)
|
|
@@ -119,7 +119,7 @@ class AttributeCache:
|
|
|
119
119
|
await self._async_value()
|
|
120
120
|
return response
|
|
121
121
|
|
|
122
|
-
async def close_value(self, params=None):
|
|
122
|
+
async def close_value(self, params=None) -> None:
|
|
123
123
|
if self.attribute.close_command is None:
|
|
124
124
|
raise RoborockException(f"{self.attribute.attribute} have no close command")
|
|
125
125
|
response = await self.api._send_command(self.attribute.close_command, params)
|
|
@@ -154,7 +154,7 @@ class RoborockClientV1(RoborockClient):
|
|
|
154
154
|
super().release()
|
|
155
155
|
[item.stop() for item in self.cache.values()]
|
|
156
156
|
|
|
157
|
-
async def async_release(self):
|
|
157
|
+
async def async_release(self) -> None:
|
|
158
158
|
await super().async_release()
|
|
159
159
|
[item.stop() for item in self.cache.values()]
|
|
160
160
|
|
|
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.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/roborock_local_client_v1.py
RENAMED
|
File without changes
|
{python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_1_apis/roborock_mqtt_client_v1.py
RENAMED
|
File without changes
|
|
File without changes
|
{python_roborock-2.4.0 → python_roborock-2.5.0}/roborock/version_a01_apis/roborock_client_a01.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|