Remove unnecessary SimpliSafe entity description mixins (#108197)
parent
858004628e
commit
cc9b874be3
|
@ -19,20 +19,13 @@ from .const import DOMAIN
|
|||
from .typing import SystemType
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class SimpliSafeButtonDescriptionMixin:
|
||||
"""Define an entity description mixin for SimpliSafe buttons."""
|
||||
@dataclass(frozen=True, kw_only=True)
|
||||
class SimpliSafeButtonDescription(ButtonEntityDescription):
|
||||
"""Describe a SimpliSafe button entity."""
|
||||
|
||||
push_action: Callable[[System], Awaitable]
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class SimpliSafeButtonDescription(
|
||||
ButtonEntityDescription, SimpliSafeButtonDescriptionMixin
|
||||
):
|
||||
"""Describe a SimpliSafe button entity."""
|
||||
|
||||
|
||||
BUTTON_KIND_CLEAR_NOTIFICATIONS = "clear_notifications"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue