Can't find Asuswrt integration

I have some problems with the Asuswrt integration. It’s not in the list for integrations when i press “+ add integration”. I had the integration a couple of months ago but didn’t get it working correctly. So I think I uninstalled it somehow but I’m not sure what i did since it was so long ago.

This is my integrations page:

I run Home Assistant in docker and updated to 0.118.4 yesterday but that didn’t help.

Any ideas what I may have done and how to fix it? :slightly_smiling_face:

I don’t think this integration can be added via UI.
Just add it to your configuration.yaml file (the old way before we had UI for adding integrations) and it should work.
https://www.home-assistant.io/integrations/asuswrt/

Oh I was sure I hade an asuswrt integration on that page. But maybe my mind is playing tricks on me.

I added this in my configuration.yaml:

asuswrt:
  host: 192.168.1.1
  protocol: ssh
  username: gltz
  ssh_key: /config/ssh/asuswrtkey
  sensors:
   - devices
   - upload
   - download
   - upload_speed
   - download_speed

But I don’t get any entities named sensor.asuswrt. I do have lots of Device Trackers for everything connected to the router tough.

Now it works. Not sure what I did exactly. I moved stuff around in the configuration.yaml file and removed a line that was commented out between ssh_key: and sensors:. Maybe that was the problem?

Blank line shouldn’t be a problem if you keep the correct indentation. Only for example a stray tab instead of spaces on the blank line could cause some problems, but that would be caught by the parser when you check configuration on the Server control page. But anyway it’s better to keep a section without blank lines.
I am glad it works. By the way, you can tell if an configuration can be set via UI by checking the docs for it. On the right side it usually says “This integration is configurable via UI” - which is not the case for ASUSWRT

1 Like