Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
parent
ae8db120e8
commit
0c2485bc03
462 changed files with 806 additions and 804 deletions
|
@ -28,7 +28,7 @@ BRIGHTNESS_LEVEL_ICON_MAP: dict[BrightnessLevel | None, str] = {
|
|||
}
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class RequiredKeysMixin(Generic[_RobotT, _CastTypeT]):
|
||||
"""A class that describes robot select entity required keys."""
|
||||
|
||||
|
@ -37,7 +37,7 @@ class RequiredKeysMixin(Generic[_RobotT, _CastTypeT]):
|
|||
select_fn: Callable[[_RobotT, str], Coroutine[Any, Any, bool]]
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class RobotSelectEntityDescription(
|
||||
SelectEntityDescription, RequiredKeysMixin[_RobotT, _CastTypeT]
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue