mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Adjust config flow pre-import comment in group (#113702)
This commit is contained in:
parent
0d279ccd13
commit
9a6804b5d7
@ -31,11 +31,14 @@ from homeassistant.helpers.reload import async_reload_integration_platforms
|
|||||||
from homeassistant.helpers.typing import ConfigType
|
from homeassistant.helpers.typing import ConfigType
|
||||||
from homeassistant.loader import bind_hass
|
from homeassistant.loader import bind_hass
|
||||||
|
|
||||||
# Ensure group config_flow is imported so it does not need the import
|
#
|
||||||
# executor since config_flows are preloaded when the component is loaded.
|
# Below we ensure the config_flow is imported so it does not need the import
|
||||||
# Even though group is pre-imported above we would have still had to wait
|
# executor later.
|
||||||
# for the config flow to be imported when the import executor is the most
|
#
|
||||||
# busy.
|
# Since group is pre-imported, the loader will not get a chance to pre-import
|
||||||
|
# the config flow as there is no run time import of the group component in the
|
||||||
|
# executor.
|
||||||
|
#
|
||||||
from . import config_flow as config_flow_pre_import # noqa: F401
|
from . import config_flow as config_flow_pre_import # noqa: F401
|
||||||
from .const import ( # noqa: F401
|
from .const import ( # noqa: F401
|
||||||
ATTR_ADD_ENTITIES,
|
ATTR_ADD_ENTITIES,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user