Skip to content

Attempting to create a future with an existing id 2 (3)... New id is 20720. Code may not function properly #136908

@hmmbob

Description

@hmmbob

The problem

Since upgrading to 2025.2.0b1 from 2025.1 stable, I'm seeing these errors in my log. I haven't seen them before on previous versions. I haven't used the vacuum at all since upgrading, it's just idling in its dock.

2025-01-30 10:22:31.287 WARNING (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock S5 Max] Attempting to create a future with an existing id 2 (3)... New id is 20720. Code may not function properly.
2025-01-30 10:22:31.350 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback RoborockFuture._set_result() (None)
  File "/usr/local/lib/python3.13/site-packages/roborock/roborock_future.py", line 19, in _set_result
2025-01-30 10:24:31.485 WARNING (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock S5 Max] Attempting to create a future with an existing id 2 (3)... New id is 20741. Code may not function properly.
2025-01-30 10:24:31.624 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback RoborockFuture._set_result() (None)
  File "/usr/local/lib/python3.13/site-packages/roborock/roborock_future.py", line 19, in _set_result
2025-01-30 10:42:57.273 WARNING (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock S5 Max] Attempting to create a future with an existing id 2 (3)... New id is 20925. Code may not function properly.
2025-01-30 10:42:57.278 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback RoborockFuture._set_result() (None)
  File "/usr/local/lib/python3.13/site-packages/roborock/roborock_future.py", line 19, in _set_result
2025-01-30 11:07:29.807 WARNING (MainThread) [roborock.version_1_apis.roborock_local_client_v1] [Roborock S5 Max] Attempting to create a future with an existing id 2 (3)... New id is 21169. Code may not function properly.

Vacuum appears to be fine in HA:

Image

What version of Home Assistant Core has the issue?

core-2025.2.0b1

What was the last working version of Home Assistant Core?

core-2025.1.4

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

Anything in the logs that might be useful for us?

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions