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
|
@ -19,14 +19,14 @@ from .const import DOMAIN
|
|||
from .typing import SystemType
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class SimpliSafeButtonDescriptionMixin:
|
||||
"""Define an entity description mixin for SimpliSafe buttons."""
|
||||
|
||||
push_action: Callable[[System], Awaitable]
|
||||
|
||||
|
||||
@dataclass
|
||||
@dataclass(frozen=True)
|
||||
class SimpliSafeButtonDescription(
|
||||
ButtonEntityDescription, SimpliSafeButtonDescriptionMixin
|
||||
):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue