#roborock: Not able to set up

1 messages · Page 1 of 1 (latest)

near nacelle
#

I enter the correct mail, then the copied code, this error occurs.
(I'm using the roborock app on my android 14 and my gf on iPhone, same account.)

Core
2024.10.2
Supervisor
2024.10.2
Operating System
13.1
Frontend
20241002.3

Logger: homeassistant.components.roborock.config_flow
Source: components/roborock/config_flow.py:109
integration: Roborock (documentation, issues)
First occurred: October 14, 2024 at 23:08:57 (2 occurrences)
Last logged: 07:42:03

#

Unexpected exception
Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 22, in extract_origin_collection
return collection.extra
^^^^^^^^^^^^^^^^^^^^
AttributeError: 'types.UnionType' object has no attribute 'extra'. Did you mean: 'str'?

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/roborock/containers.py", line 110, in from_dict
return from_dict(cls, decamelize_obj(data, ignore_keys), config=Config(cast=[Enum]))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/core.py", line 64, in from_dict
value = build_value(type=field_type, data=field_data, config=config)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/core.py", line 101, in build_value
if is_subclass(type
, cast_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 168, in is_subclass
if is_generic_collection(sub_type):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 147, in is_generic_collection
origin = extract_origin_collection(type_)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/dacite/types.py", line 24, in extract_origin_collection
return collection.origin
^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'types.UnionType' object has no attribute 'origin'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/roborock/config_flow.py", line 109, in async_step_code
login_data = await self._client.code_login(code)
^