mirror of
https://github.com/home-assistant/core.git
synced 2025-07-25 14:17:45 +00:00
Remove unnecessary SimpliSafe entity description mixins (#108197)
This commit is contained in:
parent
858004628e
commit
cc9b874be3
@ -19,20 +19,13 @@ from .const import DOMAIN
|
|||||||
from .typing import SystemType
|
from .typing import SystemType
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
@dataclass(frozen=True, kw_only=True)
|
||||||
class SimpliSafeButtonDescriptionMixin:
|
class SimpliSafeButtonDescription(ButtonEntityDescription):
|
||||||
"""Define an entity description mixin for SimpliSafe buttons."""
|
"""Describe a SimpliSafe button entity."""
|
||||||
|
|
||||||
push_action: Callable[[System], Awaitable]
|
push_action: Callable[[System], Awaitable]
|
||||||
|
|
||||||
|
|
||||||
@dataclass(frozen=True)
|
|
||||||
class SimpliSafeButtonDescription(
|
|
||||||
ButtonEntityDescription, SimpliSafeButtonDescriptionMixin
|
|
||||||
):
|
|
||||||
"""Describe a SimpliSafe button entity."""
|
|
||||||
|
|
||||||
|
|
||||||
BUTTON_KIND_CLEAR_NOTIFICATIONS = "clear_notifications"
|
BUTTON_KIND_CLEAR_NOTIFICATIONS = "clear_notifications"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user