mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Fix flakey homekit reload test (#121463)
This commit is contained in:
parent
0558e480ce
commit
6129a37bb0
@ -79,6 +79,7 @@ from homeassistant.helpers.service import (
|
|||||||
from homeassistant.helpers.start import async_at_started
|
from homeassistant.helpers.start import async_at_started
|
||||||
from homeassistant.helpers.typing import ConfigType
|
from homeassistant.helpers.typing import ConfigType
|
||||||
from homeassistant.loader import IntegrationNotFound, async_get_integration
|
from homeassistant.loader import IntegrationNotFound, async_get_integration
|
||||||
|
from homeassistant.util.async_ import create_eager_task
|
||||||
|
|
||||||
from . import ( # noqa: F401
|
from . import ( # noqa: F401
|
||||||
type_cameras,
|
type_cameras,
|
||||||
@ -511,7 +512,7 @@ def _async_register_events_and_services(hass: HomeAssistant) -> None:
|
|||||||
)
|
)
|
||||||
|
|
||||||
reload_tasks = [
|
reload_tasks = [
|
||||||
hass.config_entries.async_reload(entry.entry_id)
|
create_eager_task(hass.config_entries.async_reload(entry.entry_id))
|
||||||
for entry in current_entries
|
for entry in current_entries
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user