Switch out aiohttp-isal for aiohttp-fast-zlib to make isal optional (#116814)
* Switch out aiohttp-isal for aiohttp-fast-zlib to make isal optional aiohttp-isal does not work on core installs where the system has 32bit userland and a 64bit kernel because we have no way to detect this configuration or handle it. fixes #116681 * Update homeassistant/components/isal/manifest.json * Update homeassistant/components/isal/manifest.json * hassfest * isal * fixes * Apply suggestions from code review * make sure isal is updated before http * fix tests * late import
This commit is contained in:
parent
092a2de340
commit
673bbc1372
13 changed files with 62 additions and 9 deletions
20
homeassistant/components/isal/__init__.py
Normal file
20
homeassistant/components/isal/__init__.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
"""The isal integration."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from homeassistant.core import HomeAssistant
|
||||
from homeassistant.helpers import config_validation as cv
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
|
||||
DOMAIN = "isal"
|
||||
|
||||
CONFIG_SCHEMA = cv.empty_config_schema(DOMAIN)
|
||||
|
||||
|
||||
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
|
||||
"""Set up up isal.
|
||||
|
||||
This integration is only used so that isal can be an optional
|
||||
dep for aiohttp-fast-zlib.
|
||||
"""
|
||||
return True
|
10
homeassistant/components/isal/manifest.json
Normal file
10
homeassistant/components/isal/manifest.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"domain": "isal",
|
||||
"name": "Intelligent Storage Acceleration",
|
||||
"codeowners": ["@bdraco"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/isal",
|
||||
"integration_type": "system",
|
||||
"iot_class": "local_polling",
|
||||
"quality_scale": "internal",
|
||||
"requirements": ["isal==1.6.1"]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue