Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Update for sensor.asuswrt_download_speed fails" after upgrade to 0.107.1 #33036

Closed
scaarup opened this issue Mar 20, 2020 · 1 comment
Closed

Comments

@scaarup
Copy link

scaarup commented Mar 20, 2020

The problem

My Asus WRT integration is broken after latest update.

Environment

  • Home Assistant release with the issue: 0.107.1
  • Last working Home Assistant release (if known): 0.106
  • Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
  • Integration causing this issue: asuswrt
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/asuswrt/

Problem-relevant configuration.yaml

  host: 192.168.49.9
  username: admin
  password: XXX
  sensors:
    - upload_speed
    - download_speed

Traceback/Error logs

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 74, 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 325, in async_get_bytes_total
    rx = await self.async_get_rx()
  File "/usr/local/lib/python3.7/site-packages/aioasuswrt/asuswrt.py", line 332, in async_get_rx
    return int(data[0])
ValueError: invalid literal for int() with base 10: ''

Additional information

@frenck
Copy link
Member

frenck commented Mar 20, 2020

Duplicate of #32940

@frenck frenck marked this as a duplicate of #32940 Mar 20, 2020
@frenck frenck closed this as completed Mar 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants