Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
hmmbob opened this issue Jan 30, 2025 · 5 comments
Assignees
Milestone

Comments

@hmmbob
Copy link
Contributor

hmmbob commented Jan 30, 2025

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

@home-assistant
Copy link

Hey there @Lash-L, @allenporter, mind taking a look at this issue as it has been labeled with an integration (roborock) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of roborock can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign roborock Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


roborock documentation
roborock source
(message by IssueLinks)

@mib1185 mib1185 added this to the 2025.2.0 milestone Jan 30, 2025
@allenporter
Copy link
Contributor

Thank you! Are you able to turn on debug logging and also attach diagnostics?

Appreciate you testing this, we are close to fixing a stability issue here.

@hmmbob
Copy link
Contributor Author

hmmbob commented Jan 30, 2025

@hmmbob
Copy link
Contributor Author

hmmbob commented Feb 4, 2025

Haven't seen this since a few betas.

@allenporter
Copy link
Contributor

Great, thanks, closing with Python-roborock/python-roborock#316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants