Bump aioambient to 1.2.0 (#38364)
This commit is contained in:
parent
b916eb6cf2
commit
e86fd9af8a
5 changed files with 7 additions and 5 deletions
|
@ -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())
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue