mirror of
https://github.com/home-assistant/core.git
synced 2025-11-15 22:10:09 +00:00
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
This commit is contained in:
@@ -105,12 +105,12 @@ def _native_datetime() -> datetime:
|
||||
return datetime.now()
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class AugustBinarySensorEntityDescription(BinarySensorEntityDescription):
|
||||
"""Describes August binary_sensor entity."""
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class AugustDoorbellRequiredKeysMixin:
|
||||
"""Mixin for required keys."""
|
||||
|
||||
@@ -118,7 +118,7 @@ class AugustDoorbellRequiredKeysMixin:
|
||||
is_time_based: bool
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class AugustDoorbellBinarySensorEntityDescription(
|
||||
BinarySensorEntityDescription, AugustDoorbellRequiredKeysMixin
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user