Fix group loading too late resulting in incorrect state (#113262)
This commit is contained in:
parent
4ed3ea3b02
commit
c3b5e819c5
27 changed files with 68 additions and 13 deletions
|
@ -4,7 +4,7 @@ from __future__ import annotations
|
|||
|
||||
from collections.abc import Callable, Coroutine, Mapping
|
||||
from functools import partial
|
||||
from typing import Any, cast
|
||||
from typing import TYPE_CHECKING, Any, cast
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
|
@ -22,9 +22,11 @@ from homeassistant.helpers.schema_config_entry_flow import (
|
|||
entity_selector_without_own_entities,
|
||||
)
|
||||
|
||||
from . import DOMAIN, GroupEntity
|
||||
if TYPE_CHECKING:
|
||||
from . import GroupEntity
|
||||
|
||||
from .binary_sensor import CONF_ALL, async_create_preview_binary_sensor
|
||||
from .const import CONF_HIDE_MEMBERS, CONF_IGNORE_NON_NUMERIC
|
||||
from .const import CONF_HIDE_MEMBERS, CONF_IGNORE_NON_NUMERIC, DOMAIN
|
||||
from .cover import async_create_preview_cover
|
||||
from .event import async_create_preview_event
|
||||
from .fan import async_create_preview_fan
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue