Bump aioambient to 0.1.1 (#21024)

* Bump aioambient to 0.1.1

* Requirements
This commit is contained in:
Aaron Bach 2019-02-12 22:57:53 -07:00 committed by GitHub
parent d037359bda
commit 8a6235fdac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View File

@ -25,7 +25,7 @@ from .const import (
ATTR_LAST_DATA, CONF_APP_KEY, DATA_CLIENT, DOMAIN, TOPIC_UPDATE, ATTR_LAST_DATA, CONF_APP_KEY, DATA_CLIENT, DOMAIN, TOPIC_UPDATE,
TYPE_BINARY_SENSOR, TYPE_SENSOR) TYPE_BINARY_SENSOR, TYPE_SENSOR)
REQUIREMENTS = ['aioambient==0.1.0'] REQUIREMENTS = ['aioambient==0.1.1']
_LOGGER = logging.getLogger(__name__) _LOGGER = logging.getLogger(__name__)
DATA_CONFIG = 'config' DATA_CONFIG = 'config'
@ -257,7 +257,7 @@ async def async_setup(hass, config):
async def async_setup_entry(hass, config_entry): async def async_setup_entry(hass, config_entry):
"""Set up the Ambient PWS as config entry.""" """Set up the Ambient PWS as config entry."""
from aioambient import Client from aioambient import Client
from aioambient.errors import WebsocketConnectionError from aioambient.errors import WebsocketError
session = aiohttp_client.async_get_clientsession(hass) session = aiohttp_client.async_get_clientsession(hass)
@ -270,7 +270,7 @@ async def async_setup_entry(hass, config_entry):
hass.data[DOMAIN][DATA_CONFIG].get(CONF_MONITORED_CONDITIONS, [])) hass.data[DOMAIN][DATA_CONFIG].get(CONF_MONITORED_CONDITIONS, []))
hass.loop.create_task(ambient.ws_connect()) hass.loop.create_task(ambient.ws_connect())
hass.data[DOMAIN][DATA_CLIENT][config_entry.entry_id] = ambient hass.data[DOMAIN][DATA_CLIENT][config_entry.entry_id] = ambient
except WebsocketConnectionError as err: except WebsocketError as err:
_LOGGER.error('Config entry failed: %s', err) _LOGGER.error('Config entry failed: %s', err)
raise ConfigEntryNotReady raise ConfigEntryNotReady

View File

@ -90,7 +90,7 @@ abodepy==0.15.0
afsapi==0.0.4 afsapi==0.0.4
# homeassistant.components.ambient_station # homeassistant.components.ambient_station
aioambient==0.1.0 aioambient==0.1.1
# homeassistant.components.asuswrt # homeassistant.components.asuswrt
aioasuswrt==1.1.20 aioasuswrt==1.1.20

View File

@ -31,7 +31,7 @@ PyTransportNSW==0.1.1
YesssSMS==0.2.3 YesssSMS==0.2.3
# homeassistant.components.ambient_station # homeassistant.components.ambient_station
aioambient==0.1.0 aioambient==0.1.1
# homeassistant.components.device_tracker.automatic # homeassistant.components.device_tracker.automatic
aioautomatic==0.6.5 aioautomatic==0.6.5