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
|
@ -29,7 +29,7 @@ from .entity import (
|
|||
)
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkSensorEntityDescription(
|
||||
SensorEntityDescription,
|
||||
ReolinkChannelEntityDescription,
|
||||
|
@ -39,7 +39,7 @@ class ReolinkSensorEntityDescription(
|
|||
value: Callable[[Host, int], int]
|
||||
|
||||
|
||||
@dataclass(kw_only=True)
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class ReolinkHostSensorEntityDescription(
|
||||
SensorEntityDescription,
|
||||
ReolinkHostEntityDescription,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue