diff --git a/homeassistant/components/asuswrt.py b/homeassistant/components/asuswrt.py index 898485b5cb3..0069b3c0d73 100644 --- a/homeassistant/components/asuswrt.py +++ b/homeassistant/components/asuswrt.py @@ -14,7 +14,7 @@ from homeassistant.const import ( from homeassistant.helpers import config_validation as cv from homeassistant.helpers.discovery import async_load_platform -REQUIREMENTS = ['aioasuswrt==1.1.18'] +REQUIREMENTS = ['aioasuswrt==1.1.20'] _LOGGER = logging.getLogger(__name__) diff --git a/homeassistant/components/sensor/asuswrt.py b/homeassistant/components/sensor/asuswrt.py index 6af59ec1809..08e2ec27cb2 100644 --- a/homeassistant/components/sensor/asuswrt.py +++ b/homeassistant/components/sensor/asuswrt.py @@ -60,7 +60,7 @@ class AsuswrtSensor(Entity): async def async_update(self): """Fetch status from asuswrt.""" - self._rates = await self._api.async_get_packets_total() + self._rates = await self._api.async_get_bytes_total() self._speed = await self._api.async_get_current_transfer_rates() diff --git a/requirements_all.txt b/requirements_all.txt index 87b7da0bc7c..d94a746c50e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -90,7 +90,7 @@ afsapi==0.0.4 aioambient==0.1.0 # homeassistant.components.asuswrt -aioasuswrt==1.1.18 +aioasuswrt==1.1.20 # homeassistant.components.device_tracker.automatic aioautomatic==0.6.5