We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c5dd1 commit 690b316Copy full SHA for 690b316
roborock/cloud_api.py
@@ -164,7 +164,11 @@ async def _send_command(
164
msg = MessageParser.build(roborock_message, local_key, False)
165
self._send_msg_raw(msg)
166
(response, err) = await self._async_response(request_id, response_protocol)
167
- self._diagnostic_data[method.name] = {"params": params, "response": response, "error": err}
+ self._diagnostic_data[method if method is not None else "unknown"] = {
168
+ "params": params,
169
+ "response": response,
170
+ "error": err,
171
+ }
172
if err:
173
raise CommandVacuumError(method, err) from err
174
if response_protocol == 301:
0 commit comments