Closed inertia666 closed 2 months ago
Delete /custom_components/dreame_vacuum/translations/sv.json
file and it should work until I fix it.
Delete
/custom_components/dreame_vacuum/translations/sv.json
file and it should work until I fix it.
Got the same problem: I tried deleting it but still does not work.
My HA is also always crashing and doing a restart after trying to install the Dreame Integration.
Delete
/custom_components/dreame_vacuum/translations/sv.json
file and it should work until I fix it.Got the same problem: I tried deleting it but still does not work.
My HA is also always crashing and doing a restart after trying to install the Dreame Integration.
Probably not the same problem. Check this pinned issue instead https://github.com/Tasshack/dreame-vacuum/issues/122
Line 132 in that file is missing an comma (,) in the end of the line
@janip81 it is correct on the commit but I guess zip file contains the old one.
Should be fixed on the latest Beta release. https://github.com/Tasshack/dreame-vacuum/releases/tag/v2.0.0b16
Current Home Assistant install is 2024.7.2 core but has been broken since 2004.6
Unknown Error received when pressing submit in the vacuum configuration page.
Install 2.0.0b15. Set up using email/pass for Xiaomi account and DE server. Press submit when vacuum model retrieved.
Using Xiaomi Home app and a D9 vacuum. I have tried to use the DreameHome app but it doesn't find or connect my vacuum (in the list it only has the D9 max as the available model).
[code] hanew-1 | 2024-07-17 17:03:19.546 ERROR (MainThread) [aiohttp.server] Error handling request hanew-1 | Traceback (most recent call last): hanew-1 | File "/usr/src/homeassistant/homeassistant/util/json.py", line 79, in load_json hanew-1 | return orjson.loads(fdesc.read()) # type: ignore[no-any-return] hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | orjson.JSONDecodeError: unexpected character: line 133 column 11 (char 4369) hanew-1 | hanew-1 | The above exception was the direct cause of the following exception: hanew-1 | hanew-1 | Traceback (most recent call last): hanew-1 | File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 452, in _handle_request hanew-1 | resp = await request_handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 543, in _handle hanew-1 | resp = await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/local/lib/python3.12/site-packages/aiohttp/web_middlewares.py", line 114, in impl hanew-1 | return await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 92, in security_filter_middleware hanew-1 | return await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 83, in forwarded_middleware hanew-1 | return await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 26, in request_context_middleware hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 85, in ban_middleware hanew-1 | return await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 242, in auth_middleware hanew-1 | return await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/headers.py", line 32, in headers_middleware hanew-1 | response = await handler(request) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/helpers/http.py", line 73, in handle hanew-1 | result = await handler(request, request.match_info) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/decorators.py", line 81, in with_admin hanew-1 | return await func(self, request, *args, *kwargs) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 222, in post hanew-1 | return await super().post(request, flow_id) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 74, in wrapper hanew-1 | return await method(view, request, data, args, kwargs) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 122, in post hanew-1 | result = await self._flow_mgr.async_configure(flow_id, data) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 368, in async_configure hanew-1 | result = await self._async_configure(flow_id, user_input) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 415, in _async_configure hanew-1 | result = await self._async_handle_step( hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 573, in _async_handle_step hanew-1 | result = await self.async_finish_flow(flow, result.copy()) hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1408, in async_finish_flow hanew-1 | await self.config_entries.async_add(entry) hanew-1 | File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1713, in async_add hanew-1 | await self.async_setup(entry.entry_id) hanew-1 | File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1829, in async_setup hanew-1 | result = await async_setup_component( hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | File "/usr/src/homeassistant/homeassistant/setup.py", line 161, in async_setup_component hanew-1 | return await existing_setup_future hanew-1 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ hanew-1 | homeassistant.exceptions.HomeAssistantError: Error while loading /config/custom_components/dreame_vacuum/translations/sv.json: unexpected character: line 133 column 11 (char 4369) [/code]