Bump aioambient to 1.2.0 (#38364)

This commit is contained in:
Aaron Bach 2020-07-29 11:56:44 -06:00 committed by GitHub
parent b916eb6cf2
commit e86fd9af8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 5 deletions

View file

@ -293,7 +293,7 @@ async def async_setup_entry(hass, config_entry):
Client(
config_entry.data[CONF_API_KEY],
config_entry.data[CONF_APP_KEY],
session,
session=session,
),
)
hass.loop.create_task(ambient.ws_connect())

View file

@ -43,7 +43,9 @@ class AmbientStationFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
self._abort_if_unique_id_configured()
session = aiohttp_client.async_get_clientsession(self.hass)
client = Client(user_input[CONF_API_KEY], user_input[CONF_APP_KEY], session)
client = Client(
user_input[CONF_API_KEY], user_input[CONF_APP_KEY], session=session
)
try:
devices = await client.api.get_devices()

View file

@ -3,6 +3,6 @@
"name": "Ambient Weather Station",
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/ambient_station",
"requirements": ["aioambient==1.1.1"],
"requirements": ["aioambient==1.2.0"],
"codeowners": ["@bachya"]
}

View file

@ -142,7 +142,7 @@ aio_geojson_nsw_rfs_incidents==0.3
aio_georss_gdacs==0.3
# homeassistant.components.ambient_station
aioambient==1.1.1
aioambient==1.2.0
# homeassistant.components.asuswrt
aioasuswrt==1.2.7

View file

@ -70,7 +70,7 @@ aio_geojson_nsw_rfs_incidents==0.3
aio_georss_gdacs==0.3
# homeassistant.components.ambient_station
aioambient==1.1.1
aioambient==1.2.0
# homeassistant.components.asuswrt
aioasuswrt==1.2.7