Skip to content

Roborock log error request_id #133873

@dhoeben

Description

@dhoeben

The problem

Since the 2024.12 update I seem to have this error multiple times a day. The new id is xxxxx, where xxxx changes every time.

[roborock.api] Attempting to create a future with an existing request_id... New id is 31953. Code may not function properly

Also this error pops up a few times:
[roborock.api] [<Vacuum name>] [Errno 104] Connection reset by peer

Along with this one:

2024-12-23 07:21:23.820 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback RoborockFuture._resolve() (None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.13/asyncio/events.py", line 89, in _run
    self._context.run(self._callback, *self._args)
    ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.13/site-packages/roborock/roborock_future.py", line 19, in _resolve
    self.fut.set_result(item)
    ~~~~~~~~~~~~~~~~~~~^^^^^^
asyncio.exceptions.InvalidStateError: invalid state

What version of Home Assistant Core has the issue?

core-2024.12.1

What was the last working version of Home Assistant Core?

core-2023.10.x

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Roborock

Link to integration documentation on our website

https://www.home-assistant.io/integrations/roborock/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions