Just upgraded to HA 2025.12.2 (docker image) and now AsusRouter fails in setup:
2025-12-08 22:16:02.608 WARNING (MainThread) [custom_components.asusrouter.config_flow] Cannot get clients for 192.168.XXX.1: 'str' object has no attribute 'get'
2025-12-08 22:16:21.249 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry AX86U-OFFICE for asusrouter
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 "/config/custom_components/asusrouter/__init__.py", line 27, in async_setup_entry
await router.setup()
File "/config/custom_components/asusrouter/router.py", line 349, in setup
await self.bridge.async_connect()
File "/config/custom_components/asusrouter/bridge.py", line 251, 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'
2025-12-08 22:20:09.529 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry AX86U-OFFICE for asusrouter
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 "/config/custom_components/asusrouter/__init__.py", line 27, in async_setup_entry
await router.setup()
File "/config/custom_components/asusrouter/router.py", line 349, in setup
await self.bridge.async_connect()
File "/config/custom_components/asusrouter/bridge.py", line 251, 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"))
^^^^^^^^
Happy to share more / help debug.
UPDATE: Reverted back to 2025.12.1 container and it resumes working again.
Already being worked by the developer: [Bug] 2025.12.2 - Appears to cause integration to break "AttributeError" · Issue #1101 · Vaskivskyi/ha-asusrouter · GitHub