Bump tado version (#22145)

* Bump python-tado, new API endpoint

* Change references of old API endpoint to new

* Update REQUIREMENTS
pull/22216/head
WebSpider 2019-03-18 13:54:24 +01:00 committed by Paulus Schoutsen
parent cc00f3cd2e
commit 33a7075883
3 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ from homeassistant.helpers import config_validation as cv
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__)

View File

@ -52,9 +52,9 @@ class TadoDeviceScanner(DeviceScanner):
# 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

View File

@ -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