mirror of
https://github.com/home-assistant/core.git
synced 2025-11-09 02:49:40 +00:00
Use entity_sources to determine integration in recorder platforms (#88382)
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user