Freeze integration entity descriptions (#105984)

Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
Erik Montnemery 2023-12-19 03:28:13 +01:00 committed by GitHub
parent ae8db120e8
commit 0c2485bc03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
462 changed files with 806 additions and 804 deletions

View file

@ -48,14 +48,14 @@ from .coordinator import YoLinkCoordinator
from .entity import YoLinkEntity
@dataclass
@dataclass(frozen=True)
class YoLinkSensorEntityDescriptionMixin:
"""Mixin for device type."""
exists_fn: Callable[[YoLinkDevice], bool] = lambda _: True
@dataclass
@dataclass(frozen=True)
class YoLinkSensorEntityDescription(
YoLinkSensorEntityDescriptionMixin, SensorEntityDescription
):