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
|
@ -42,7 +42,7 @@ ENDPOINT = "/api/v1/status"
|
|||
MIN_TIME_BETWEEN_UPDATES = timedelta(seconds=1)
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class GoogleWifiRequiredKeysMixin:
|
||||
"""Mixin for required keys."""
|
||||
|
||||
|
@ -50,7 +50,7 @@ class GoogleWifiRequiredKeysMixin:
|
|||
sensor_key: str
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class GoogleWifiSensorEntityDescription(
|
||||
SensorEntityDescription, GoogleWifiRequiredKeysMixin
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue