Asuswrt cannot work correct after upgrade to HA2021.6.4

Is asuswrt still working with Merlin?
i used asus ax88u running with merlin…
I keep getting an error, whatever using SSH and key auth. or using username & password
i can make sure the right password and username
but asuswrt cannot work correctly
there are errors: PLZ Help!~~

Logger: homeassistant.setup
Source: components/asuswrt/__init__.py:81
First occurred: pm4:10:10 (1 occurrences)
Last logged: pm4:10:10

Error during setup of component asuswrt
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/setup.py", line 171, in _async_setup_component
    hass, processed_config
  File "/usr/src/homeassistant/homeassistant/components/asuswrt/__init__.py", line 81, in async_setup
    dnsmasq=conf[CONF_DNSMASQ],
TypeError: __init__() got an unexpected keyword argument 'interface'
1 Like

Same problem for me

2020-04-28 12:52:06 ERROR (MainThread) [homeassistant.helpers.entity] Update for sensor.asuswrt_upload_speed fails Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 279, in async_update_ha_state await self.async_device_update() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 474, in async_device_update await self.async_update() File "/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 92, in async_update await super().async_update() File "/usr/src/homeassistant/homeassistant/components/asuswrt/sensor.py", line 57, in async_update self._rates = await self._api.async_get_bytes_total() File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 326, in async_get_bytes_total rx = await self.async_get_rx() File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 333, in async_get_rx _RX_COMMAND.format(self.interface)) File "/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py", line 37, in async_run_command result = await asyncio.wait_for(self._client.run( AttributeError: 'SshConnection' object has no attribute '_client'

This is a long running issue. It supposed to be fixed with HA 0.109, but I’m still getting errors:

Logger: homeassistant.core
Source: components/asuswrt/device_tracker.py:52
First occurred: 30 april 2020 22:42:33 (1682 occurrences)
Last logged: 8:47:13

Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/components/device_tracker/setup.py", line 161, in async_device_tracker_scan
    found_devices = await scanner.async_scan_devices()
  File "/usr/src/homeassistant/homeassistant/components/asuswrt/device_tracker.py", line 36, in async_scan_devices
    await self.async_update_info()
  File "/usr/src/homeassistant/homeassistant/components/asuswrt/device_tracker.py", line 52, in async_update_info
    self.last_results = await self.connection.async_get_connected_devices()
  File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 312, in async_get_connected_devices
    dev = await self.async_get_arp()
  File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 287, in async_get_arp
    lines = await self.connection.async_run_command(_ARP_CMD)
  File "/usr/local/lib/python3.7/site-packages/aioasuswrt/connection.py", line 39, in async_run_command
    result = await asyncio.wait_for(self._client.run(
AttributeError: 'NoneType' object has no attribute 'run'

There’s a reported issue on Github, https://github.com/home-assistant/core/issues/27783
It’s now closed but I reported it is still broken.

A fix has been pushed to the repo for this, now we have to wait for asuswrt-version to be bumped in HA

The error appear again in HA 2021.6.4 (supervisor-2021.06.0 core-2021.6.4)

TypeError: create_connection() got an unexpected keyword argument 'server_host_key_algs'

needs fix plz…