Skip to content

Commit

Permalink
Upgrade python-twitch-client to 0.6.0 (home-assistant#16602)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and pvizeli committed Sep 14, 2018
1 parent 72e746d commit 481f6e0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions homeassistant/components/sensor/twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)

Expand Down Expand Up @@ -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)

Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 481f6e0

Please sign in to comment.