Skip to content

Roborock integration uses wrong account region #159640

@hudochenkov

Description

@hudochenkov

The problem

Roborock integration assumes account region to be US, and fails to fetch the authentication code.

My account is in The Netherlands region. I've learned about importance of regions from Roborock support. Depending on the region you select in Roborock app on the login screen (top right corner) different Roborock account is used, even with the same email address.

In the provided logs you see user account is in deletion error is because I didn't know about regions, so I accidentally created an account in USA region. Which I have now deleted and got back to my old Netherlands account.

The important part is that US region is assumed by integration, which is not correct for my account.

We need to be able to select account region when adding Roborock integration.

What version of Home Assistant Core has the issue?

core-2025.12.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

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?

DEBUG (MainThread) [homeassistant.components.roborock.config_flow] Requesting code for Roborock account
DEBUG (MainThread) [roborock.web_api] Country determined to be US and code is 1
INFO (MainThread) [roborock.web_api] Request code failed for REDACTED with the following context: {'msg': 'user account is in deletion', 'data': None, 'code': 3030}

Additional information

No response

Metadata

Metadata

Assignees

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions