Bump pyiqvia to 0.3.1 (#44358)
parent
ea578f5767
commit
14432248b0
|
@ -52,7 +52,7 @@ async def async_setup_entry(hass, entry):
|
|||
)
|
||||
|
||||
websession = aiohttp_client.async_get_clientsession(hass)
|
||||
client = Client(entry.data[CONF_ZIP_CODE], websession)
|
||||
client = Client(entry.data[CONF_ZIP_CODE], session=websession)
|
||||
|
||||
async def async_get_data_from_api(api_coro):
|
||||
"""Get data from a particular API coroutine."""
|
||||
|
|
|
@ -30,7 +30,7 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
websession = aiohttp_client.async_get_clientsession(self.hass)
|
||||
|
||||
try:
|
||||
Client(user_input[CONF_ZIP_CODE], websession)
|
||||
Client(user_input[CONF_ZIP_CODE], session=websession)
|
||||
except InvalidZipError:
|
||||
return self.async_show_form(
|
||||
step_id="user",
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
"name": "IQVIA",
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/iqvia",
|
||||
"requirements": ["numpy==1.19.2", "pyiqvia==0.2.1"],
|
||||
"requirements": ["numpy==1.19.2", "pyiqvia==0.3.1"],
|
||||
"codeowners": ["@bachya"]
|
||||
}
|
||||
|
|
|
@ -1455,7 +1455,7 @@ pyipma==2.0.5
|
|||
pyipp==0.11.0
|
||||
|
||||
# homeassistant.components.iqvia
|
||||
pyiqvia==0.2.1
|
||||
pyiqvia==0.3.1
|
||||
|
||||
# homeassistant.components.irish_rail_transport
|
||||
pyirishrail==0.0.2
|
||||
|
|
|
@ -734,7 +734,7 @@ pyipma==2.0.5
|
|||
pyipp==0.11.0
|
||||
|
||||
# homeassistant.components.iqvia
|
||||
pyiqvia==0.2.1
|
||||
pyiqvia==0.3.1
|
||||
|
||||
# homeassistant.components.isy994
|
||||
pyisy==2.1.0
|
||||
|
|
Loading…
Reference in New Issue