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:
parent
ec8d23d0af
commit
d50b4ccd62
9 changed files with 610 additions and 550 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue