Fix group loading too late resulting in incorrect state (#113262)

This commit is contained in:
J. Nick Koston 2024-03-13 19:18:15 -10:00 committed by GitHub
parent 4ed3ea3b02
commit c3b5e819c5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
27 changed files with 68 additions and 13 deletions

View file

@ -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