diff --git a/homeassistant/components/sensor/twitch.py b/homeassistant/components/sensor/twitch.py index 57e98bc273de54..3e00f799dcfa9c 100644 --- a/homeassistant/components/sensor/twitch.py +++ b/homeassistant/components/sensor/twitch.py @@ -12,7 +12,7 @@ from homeassistant.helpers.entity import Entity import homeassistant.helpers.config_validation as cv -REQUIREMENTS = ['python-twitch-client==0.5.1'] +REQUIREMENTS = ['python-twitch-client==0.6.0'] _LOGGER = logging.getLogger(__name__) @@ -45,7 +45,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None): client.ingests.get_server_list() except HTTPError: _LOGGER.error("Client ID is not valid") - return False + return users = client.users.translate_usernames_to_ids(channels) diff --git a/requirements_all.txt b/requirements_all.txt index d740e915cbcd3d..05e8c1d5ae1d2d 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1154,7 +1154,7 @@ python-tado==0.2.3 python-telegram-bot==11.0.0 # homeassistant.components.sensor.twitch -python-twitch-client==0.5.1 +python-twitch-client==0.6.0 # homeassistant.components.velbus python-velbus==2.0.19