Use HOMEASSISTANT_DOMAIN alias for core DOMAIN (#122760)

This commit is contained in:
epenet
2024-07-29 13:35:36 +02:00
committed by GitHub
parent 9ce7779bde
commit 07c7bb8b2a
15 changed files with 70 additions and 59 deletions

View File

@ -4,7 +4,7 @@ from __future__ import annotations
import ast
from homeassistant.core import DOMAIN as HA_DOMAIN
from homeassistant.core import DOMAIN as HOMEASSISTANT_DOMAIN
from .model import Config, Integration
@ -12,7 +12,7 @@ CONFIG_SCHEMA_IGNORE = {
# Configuration under the homeassistant key is a special case, it's handled by
# conf_util.async_process_ha_core_config already during bootstrapping, not by
# a schema in the homeassistant integration.
HA_DOMAIN,
HOMEASSISTANT_DOMAIN,
}