Version bump of aioautomatic (#7300)

* Version bump of aioautomatic

* Update requirements_all.txt
This commit is contained in:
Adam Mills 2017-04-25 23:21:16 -04:00 committed by Paulus Schoutsen
parent 615691efc3
commit 00f034cef2
2 changed files with 5 additions and 3 deletions

View file

@ -17,7 +17,7 @@ from homeassistant.helpers.aiohttp_client import async_get_clientsession
import homeassistant.helpers.config_validation as cv import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.event import async_track_time_interval from homeassistant.helpers.event import async_track_time_interval
REQUIREMENTS = ['aioautomatic==0.1.1'] REQUIREMENTS = ['aioautomatic==0.2.0']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
@ -27,6 +27,8 @@ CONF_DEVICES = 'devices'
DEFAULT_TIMEOUT = 5 DEFAULT_TIMEOUT = 5
SCOPE = ['location', 'vehicle:profile', 'trip']
PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend({
vol.Required(CONF_CLIENT_ID): cv.string, vol.Required(CONF_CLIENT_ID): cv.string,
vol.Required(CONF_SECRET): cv.string, vol.Required(CONF_SECRET): cv.string,
@ -49,7 +51,7 @@ def async_setup_scanner(hass, config, async_see, discovery_info=None):
request_kwargs={'timeout': DEFAULT_TIMEOUT}) request_kwargs={'timeout': DEFAULT_TIMEOUT})
try: try:
session = yield from client.create_session_from_password( session = yield from client.create_session_from_password(
config[CONF_USERNAME], config[CONF_PASSWORD]) SCOPE, config[CONF_USERNAME], config[CONF_PASSWORD])
data = AutomaticData(hass, session, config[CONF_DEVICES], async_see) data = AutomaticData(hass, session, config[CONF_DEVICES], async_see)
except aioautomatic.exceptions.AutomaticError as err: except aioautomatic.exceptions.AutomaticError as err:
_LOGGER.error(str(err)) _LOGGER.error(str(err))

View file

@ -38,7 +38,7 @@ SoCo==0.12
TwitterAPI==2.4.5 TwitterAPI==2.4.5
# homeassistant.components.device_tracker.automatic # homeassistant.components.device_tracker.automatic
aioautomatic==0.1.1 aioautomatic==0.2.0
# homeassistant.components.sensor.dnsip # homeassistant.components.sensor.dnsip
aiodns==1.1.1 aiodns==1.1.1