Asuswrt sensor report unknown

I have a Asus RT-AC1200 connected to home assistant following the Asuswrt component page.
The device tracker works flawlessly but the bandwidth sensors are not they report unknown
image below for reference.
asus
The log report errors like that for the 4 sensors

Update for sensor.asuswrt_upload fails
Traceback (most recent call last):
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 220, in async_update_ha_state
await self.async_device_update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/helpers/entity.py”, line 377, in async_device_update
await self.async_update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/sensor/asuswrt.py”, line 134, in async_update
await super().async_update()
File “/usr/local/lib/python3.7/site-packages/homeassistant/components/sensor/asuswrt.py”, line 63, in async_update
self._rates = await self._api.async_get_bytes_total()
File “/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py”, line 189, in async_get_bytes_total
rx = await self.async_get_rx()
File “/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py”, line 196, in async_get_rx
return int(data[0])
ValueError: invalid literal for int() with base 10: ‘’

My config is like that

asuswrt:
  host: xxx.xxx.xxx.xxx
  username: xxxxxxx
  ssh_key: /config/ssh/asuskey
  sensors:
    - upload
    - download
    - upload_speed
    - download_speed 

Anyone have experienced something similar? Any help will be appreciated thanks

I have the exact same problem with my router RT-AC65P.
Did you figure out something?

Hello;

This is My Code:

asuswrt:
  host: ---.---.---.---
  username: -----
  password: -----
  interface: vlan2
  sensors:
    - upload
    - download
    - upload_speed
    - download_speed
  • Host / Username / Password, I use same at access with webpage.

To discover interface, open router with Telnet

  • Use Putty or other sofwares…
telnet ---.---.---.---
login / password (For me, same as webpage).

put the command:
ifconfig -a

list all interfaces, in my case, I use vlan2

My Router: RT-AC59U

I tried to get sensors working but I keep getting this error when i put devices in as per wiki:

Invalid config for [asuswrt]: value is not allowed @ data['asuswrt']['sensors'][0]. Got 'devices'. (See /config/configuration.yaml, line 193). 

My yaml looks like this:

asuswrt:
  host: 192.168.0.1
  username: xxxx
  password: xxxx
  interface: vlan2
  sensors:
    - devices
    - upload
    - download
    - upload_speed
    - download_speed

I just listened to the HASS podcast and noticed that “devices” is part of the latest HASS version which I haven’t upgraded to yet…