Bump pyairvisual and remove unused trends (#34707)

This commit is contained in:
Aaron Bach authored and GitHub committed 2020-04-25 21:30:12 -06:00
1 parent f436e29a0d
commit 8ff1fc6f8b
6 files changed
+7 -19

No files matched your search

@@ -101,7 +101,7 @@ class AirVisualFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
return self.async_abort(reason="already_configured")
websession = aiohttp_client.async_get_clientsession(self.hass)
client = Client(websession, api_key=user_input[CONF_API_KEY])
client = Client(session=websession, api_key=user_input[CONF_API_KEY])
# If this is the first (and only the first) time we've seen this API key, check
# that it's valid:
@@ -142,7 +142,7 @@ class AirVisualFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
await self._async_set_unique_id(user_input[CONF_IP_ADDRESS])
websession = aiohttp_client.async_get_clientsession(self.hass)
client = Client(websession)
client = Client(session=websession)
try:
await client.node.from_samba(