1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 12:59:34 +00:00

Allow core integrations to describe their conditions (#147529)

Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com>
This commit is contained in:
Erik Montnemery
2025-07-04 16:03:42 +02:00
committed by GitHub
parent e47bdc06a0
commit 510fd09163
11 changed files with 907 additions and 6 deletions

View File

@@ -75,6 +75,7 @@ from homeassistant.core import (
from homeassistant.helpers import (
area_registry as ar,
category_registry as cr,
condition,
device_registry as dr,
entity,
entity_platform,
@@ -296,6 +297,7 @@ async def async_test_home_assistant(
# Load the registries
entity.async_setup(hass)
loader.async_setup(hass)
await condition.async_setup(hass)
await trigger.async_setup(hass)
# setup translation cache instead of calling translation.async_setup(hass)