Skip to content

Commit

Permalink
Bump tado version (#22145)
Browse files Browse the repository at this point in the history
* Bump python-tado, new API endpoint

* Change references of old API endpoint to new

* Update REQUIREMENTS
  • Loading branch information
WebSpider authored and balloob committed Mar 19, 2019
1 parent cc00f3c commit 33a7075
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/tado/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from homeassistant.const import CONF_USERNAME, CONF_PASSWORD
from homeassistant.util import Throttle

REQUIREMENTS = ['python-tado==0.2.3']
REQUIREMENTS = ['python-tado==0.2.8']

_LOGGER = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions homeassistant/components/tado/device_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ def __init__(self, hass, config):

# If there's a home_id, we need a different API URL
if self.home_id is None:
self.tadoapiurl = 'https://my.tado.com/api/v2/me'
self.tadoapiurl = 'https://auth.tado.com/api/v2/me'
else:
self.tadoapiurl = 'https://my.tado.com/api/v2' \
self.tadoapiurl = 'https://auth.tado.com/api/v2' \
'/homes/{home_id}/mobileDevices'

# The API URL always needs a username and password
Expand Down
2 changes: 1 addition & 1 deletion requirements_all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1394,7 +1394,7 @@ python-songpal==0.0.9.1
python-synology==0.2.0

# homeassistant.components.tado
python-tado==0.2.3
python-tado==0.2.8

# homeassistant.components.telegram_bot
python-telegram-bot==11.1.0
Expand Down

0 comments on commit 33a7075

Please sign in to comment.