core: Asuswrt broken after 2021.5

The problem

Problem with Asuswrt. After installing 2021.5, the asuswrt integration was broken. I removed the integration and tried to install it again without success. Can’t connect to the router. Credentials are ok. In the router I see this: “No matching algo hostkey”

What is version of Home Assistant Core has the issue?

2021.5.0

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

Asuswrt

Link to integration documentation on our website

https://www.home-assistant.io/integrations/asuswrt/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.asuswrt.config_flow
Source: components/asuswrt/config_flow.py:115 
Integration: asuswrt (documentation, issues) 
First occurred: 5 mei 2021 22:36:50 (15 occurrences) 
Last logged: 5 mei 2021 23:28:39

Error connecting to the AsusWrt router at 192.168.168.230

Additional information

No response

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 44 (20 by maintainers)

Most upvoted comments

I added 2021.5.4 milestone now

Looking at my install of 2021.5, it does appear asynsssh v2.6 is currently used:

bash-5.0# pip show asyncssh
Name: asyncssh
Version: 2.6.0
Summary: AsyncSSH: Asynchronous SSHv2 client and server library
Home-page: http://asyncssh.timeheart.net
Author: Ron Frederick
Author-email: ronf@timeheart.net
License: Eclipse Public License v2.0
Location: /usr/local/lib/python3.8/site-packages
Requires: cryptography
Required-by: aioasuswrt

If I install the older v2.5 version (pip install asyncssh==2.5.0) and restart home assistant then the asuswrt integration springs back to life.

Don’t now if you have special requirement, but Asus released a more recent versions of firmware for this router that in some case include some of the features implemented in merlin version.