Split up hassio coordinator and data into new file to allow preload (#112147)

* Split up hassio coordinator and data into new file to allow preload

Since we cannot mark hassio as having a config_flow, it will
not get preloaded and since cloud will almost always load right
after it and block the import executor, we want to preload
the hassio config_flow and platform modules so the other
dependants can continue on while cloud is being imported
to not delay startup

* tweak

* tweak
This commit is contained in:
J. Nick Koston 2024-03-03 16:16:02 -10:00 committed by GitHub
parent ec8d23d0af
commit d50b4ccd62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 610 additions and 550 deletions

View file

@ -12,8 +12,7 @@ from homeassistant.config_entries import ConfigEntry
from homeassistant.core import HomeAssistant
from homeassistant.helpers.entity_platform import AddEntitiesCallback
from . import ADDONS_COORDINATOR
from .const import ATTR_STARTED, ATTR_STATE, DATA_KEY_ADDONS
from .const import ADDONS_COORDINATOR, ATTR_STARTED, ATTR_STATE, DATA_KEY_ADDONS
from .entity import HassioAddonEntity