mirror of
https://github.com/home-assistant/core.git
synced 2025-09-09 23:01:40 +02:00
Small cleanup in event entity (#97409)
This commit is contained in:
committed by
Franck Nijhof
parent
364e7b838a
commit
f1fc09cb1d
@@ -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
|
||||||
|
Reference in New Issue
Block a user