The problem
The asuswrt integration was no longer setting up after installing the new HAcore update. It gave the following error
"Error setting up entry 192.168.1.1 for asuswrt" (full error message included below)
The device I'm trying to connect to is my ASUS ZenWiFi AX (XT8) router. The router is working fine itself.
I then removed the integration and set it up fresh. But I couldn't set it up, it gave the same sort of error:
This seems to happen using HTTPS for protocol (using ssh I don't encounter this error)
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/asuswrt/config_flow.py", line 190, in _async_check_connection await api.async_connect() File "/usr/src/homeassistant/homeassistant/components/asuswrt/bridge.py", line 389, in async_connect await self._api.async_connect() File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 203, in async_connect return await self.async_get_identity() is not None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 293, in async_get_identity self._identity = await collect_identity( ^^^^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... ) ^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 126, in collect_identity endpoints, onboarding = await _check_endpoints(api_query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 230, in _check_endpoints onboarding = process_onboarding( ~~~~~~~~~~~~~~~~~~^ read_onboarding(contents[Endpoint.ONBOARDING]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ).get(AsusData.AIMESH, {}) ^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 47, in process for node in [process_aimesh_node(device)] ~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 98, in process_aimesh_node level = safe_int(data.get("level", "0")) ^^^^^^^^ AttributeError: 'str' object has no attribute 'get'
What version of Home Assistant Core has the issue?
2025.12.2
What was the last working version of Home Assistant Core?
2025.12.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
asuswrt
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Error setting up entry 192.168.1.1 for asuswrt
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/asuswrt/__init__.py", line 18, in async_setup_entry
await router.setup()
File "/usr/src/homeassistant/homeassistant/components/asuswrt/router.py", line 231, in setup
await self._api.async_connect()
File "/usr/src/homeassistant/homeassistant/components/asuswrt/bridge.py", line 389, in async_connect
await self._api.async_connect()
File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 203, in async_connect
return await self.async_get_identity() is not None
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 293, in async_get_identity
self._identity = await collect_identity(
^^^^^^^^^^^^^^^^^^^^^^^
...<2 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 126, in collect_identity
endpoints, onboarding = await _check_endpoints(api_query)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 230, in _check_endpoints
onboarding = process_onboarding(
~~~~~~~~~~~~~~~~~~^
read_onboarding(contents[Endpoint.ONBOARDING])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
).get(AsusData.AIMESH, {})
^
File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 47, in process
for node in [process_aimesh_node(device)]
~~~~~~~~~~~~~~~~~~~^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 98, in process_aimesh_node
level = safe_int(data.get("level", "0"))
^^^^^^^^
AttributeError: 'str' object has no attribute 'get'
Additional information
No response
The problem
The asuswrt integration was no longer setting up after installing the new HAcore update. It gave the following error
"Error setting up entry 192.168.1.1 for asuswrt" (full error message included below)
The device I'm trying to connect to is my ASUS ZenWiFi AX (XT8) router. The router is working fine itself.
I then removed the integration and set it up fresh. But I couldn't set it up, it gave the same sort of error:
This seems to happen using HTTPS for protocol (using ssh I don't encounter this error)
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/asuswrt/config_flow.py", line 190, in _async_check_connection await api.async_connect() File "/usr/src/homeassistant/homeassistant/components/asuswrt/bridge.py", line 389, in async_connect await self._api.async_connect() File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 203, in async_connect return await self.async_get_identity() is not None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 293, in async_get_identity self._identity = await collect_identity( ^^^^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... ) ^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 126, in collect_identity endpoints, onboarding = await _check_endpoints(api_query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 230, in _check_endpoints onboarding = process_onboarding( ~~~~~~~~~~~~~~~~~~^ read_onboarding(contents[Endpoint.ONBOARDING]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ).get(AsusData.AIMESH, {}) ^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 47, in process for node in [process_aimesh_node(device)] ~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 98, in process_aimesh_node level = safe_int(data.get("level", "0")) ^^^^^^^^ AttributeError: 'str' object has no attribute 'get'What version of Home Assistant Core has the issue?
2025.12.2
What was the last working version of Home Assistant Core?
2025.12.0
What type of installation are you running?
Home Assistant OS
Integration causing the issue
asuswrt
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Error setting up entry 192.168.1.1 for asuswrt Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 761, in __async_setup_with_context result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/asuswrt/__init__.py", line 18, in async_setup_entry await router.setup() File "/usr/src/homeassistant/homeassistant/components/asuswrt/router.py", line 231, in setup await self._api.async_connect() File "/usr/src/homeassistant/homeassistant/components/asuswrt/bridge.py", line 389, in async_connect await self._api.async_connect() File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 203, in async_connect return await self.async_get_identity() is not None ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/asusrouter.py", line 293, in async_get_identity self._identity = await collect_identity( ^^^^^^^^^^^^^^^^^^^^^^^ ...<2 lines>... ) ^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 126, in collect_identity endpoints, onboarding = await _check_endpoints(api_query) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/identity.py", line 230, in _check_endpoints onboarding = process_onboarding( ~~~~~~~~~~~~~~~~~~^ read_onboarding(contents[Endpoint.ONBOARDING]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ).get(AsusData.AIMESH, {}) ^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 47, in process for node in [process_aimesh_node(device)] ~~~~~~~~~~~~~~~~~~~^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/asusrouter/modules/endpoint/onboarding.py", line 98, in process_aimesh_node level = safe_int(data.get("level", "0")) ^^^^^^^^ AttributeError: 'str' object has no attribute 'get'Additional information
No response