core: ImportError: Using http2=True, but the 'h2' package is not installed.
The problem
2022-10-28 14:24:58.990 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry xxxxxxx@gmail.com for iaqualink
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 365, in async_setup
result = await component.async_setup_entry(hass, self)
File "/usr/src/homeassistant/homeassistant/components/iaqualink/__init__.py", line 76, in async_setup_entry
await aqualink.login()
File "/usr/local/lib/python3.10/site-packages/iaqualink/client.py", line 126, in login
r = await self._send_login_request()
File "/usr/local/lib/python3.10/site-packages/iaqualink/client.py", line 121, in _send_login_request
return await self.send_request(
File "/usr/local/lib/python3.10/site-packages/iaqualink/client.py", line 92, in send_request
self._client = httpx.AsyncClient(
File "/usr/local/lib/python3.10/site-packages/httpx/_client.py", line 1386, in __init__
raise ImportError(
ImportError: Using http2=True, but the 'h2' package is not installed. Make sure to install httpx using `pip install httpx[http2]`.
What version of Home Assistant Core has the issue?
2022.11.0b1
What was the last working version of Home Assistant Core?
2022.10
What type of installation are you running?
Home Assistant OS
Integration causing the issue
iaqualink
Link to integration documentation on our website
https://www.home-assistant.io/integrations/iaqualink/
Diagnostics information
Doesnt have
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Posted above
Additional information
My guess is this was introduced in https://github.com/home-assistant/core/issues/79479
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 1
- Comments: 20 (4 by maintainers)
I’m seeing this after upgrading to 2022.11.0