diff --git a/homeassistant/components/sensor/sabnzbd.py b/homeassistant/components/sensor/sabnzbd.py index c5dd09e0ccc..194ff71222a 100644 --- a/homeassistant/components/sensor/sabnzbd.py +++ b/homeassistant/components/sensor/sabnzbd.py @@ -19,7 +19,7 @@ from homeassistant.util import Throttle from homeassistant.util.json import load_json, save_json import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['pysabnzbd==0.0.3'] +REQUIREMENTS = ['pysabnzbd==1.0.1'] _CONFIGURING = {} _LOGGER = logging.getLogger(__name__) @@ -82,7 +82,7 @@ async def async_update_queue(sab_api): This ensures that the queue info only gets updated once for all sensors """ - await sab_api.refresh_queue() + await sab_api.refresh_data() def request_configuration(host, name, hass, config, async_add_devices, diff --git a/requirements_all.txt b/requirements_all.txt index c4aa5da8815..2d60582f46f 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -863,7 +863,7 @@ pyqwikswitch==0.4 pyrainbird==0.1.3 # homeassistant.components.sensor.sabnzbd -pysabnzbd==0.0.3 +pysabnzbd==1.0.1 # homeassistant.components.climate.sensibo pysensibo==1.0.2