mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Bump aioambient to 0.1.1 (#21024)
* Bump aioambient to 0.1.1 * Requirements
This commit is contained in:
parent
d037359bda
commit
8a6235fdac
@ -25,7 +25,7 @@ from .const import (
|
||||
ATTR_LAST_DATA, CONF_APP_KEY, DATA_CLIENT, DOMAIN, TOPIC_UPDATE,
|
||||
TYPE_BINARY_SENSOR, TYPE_SENSOR)
|
||||
|
||||
REQUIREMENTS = ['aioambient==0.1.0']
|
||||
REQUIREMENTS = ['aioambient==0.1.1']
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
DATA_CONFIG = 'config'
|
||||
@ -257,7 +257,7 @@ async def async_setup(hass, config):
|
||||
async def async_setup_entry(hass, config_entry):
|
||||
"""Set up the Ambient PWS as config entry."""
|
||||
from aioambient import Client
|
||||
from aioambient.errors import WebsocketConnectionError
|
||||
from aioambient.errors import WebsocketError
|
||||
|
||||
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.loop.create_task(ambient.ws_connect())
|
||||
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)
|
||||
raise ConfigEntryNotReady
|
||||
|
||||
|
@ -90,7 +90,7 @@ abodepy==0.15.0
|
||||
afsapi==0.0.4
|
||||
|
||||
# homeassistant.components.ambient_station
|
||||
aioambient==0.1.0
|
||||
aioambient==0.1.1
|
||||
|
||||
# homeassistant.components.asuswrt
|
||||
aioasuswrt==1.1.20
|
||||
|
@ -31,7 +31,7 @@ PyTransportNSW==0.1.1
|
||||
YesssSMS==0.2.3
|
||||
|
||||
# homeassistant.components.ambient_station
|
||||
aioambient==0.1.0
|
||||
aioambient==0.1.1
|
||||
|
||||
# homeassistant.components.device_tracker.automatic
|
||||
aioautomatic==0.6.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user