Adjust config flow pre-import comment in group (#113702)
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.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.
|
||||
# Even though group is pre-imported above we would have still had to wait
|
||||
# for the config flow to be imported when the import executor is the most
|
||||
# busy.
|
||||
#
|
||||
# Below we ensure the config_flow is imported so it does not need the import
|
||||
# executor later.
|
||||
#
|
||||
# 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 .const import ( # noqa: F401
|
||||
ATTR_ADD_ENTITIES,
|
||||
|
|
Loading…
Reference in New Issue