mirror of
https://github.com/home-assistant/core.git
synced 2025-06-28 17:07:08 +00:00
Small cleanup in event entity (#97409)
This commit is contained in:
parent
e1f14ed990
commit
8101376ad5
@ -45,7 +45,6 @@ __all__ = [
|
|||||||
"EventDeviceClass",
|
"EventDeviceClass",
|
||||||
"EventEntity",
|
"EventEntity",
|
||||||
"EventEntityDescription",
|
"EventEntityDescription",
|
||||||
"EventEntityFeature",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
# mypy: disallow-any-generics
|
# mypy: disallow-any-generics
|
||||||
@ -104,7 +103,7 @@ class EventExtraStoredData(ExtraStoredData):
|
|||||||
|
|
||||||
|
|
||||||
class EventEntity(RestoreEntity):
|
class EventEntity(RestoreEntity):
|
||||||
"""Representation of a Event entity."""
|
"""Representation of an Event entity."""
|
||||||
|
|
||||||
entity_description: EventEntityDescription
|
entity_description: EventEntityDescription
|
||||||
_attr_device_class: EventDeviceClass | None
|
_attr_device_class: EventDeviceClass | None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user