Use entity_sources to determine integration in recorder platforms (#88382)
This commit is contained in:
parent
728f0d5b3b
commit
83e5bf7ae8
7 changed files with 33 additions and 19 deletions
|
@ -27,6 +27,7 @@ from .exceptions import HomeAssistantError
|
|||
from .helpers import (
|
||||
area_registry,
|
||||
device_registry,
|
||||
entity,
|
||||
entity_registry,
|
||||
issue_registry,
|
||||
recorder,
|
||||
|
@ -236,6 +237,7 @@ async def load_registries(hass: core.HomeAssistant) -> None:
|
|||
platform.uname().processor # pylint: disable=expression-not-assigned
|
||||
|
||||
# Load the registries and cache the result of platform.uname().processor
|
||||
entity.async_setup(hass)
|
||||
await asyncio.gather(
|
||||
area_registry.async_load(hass),
|
||||
device_registry.async_load(hass),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue