Small cleanup in event entity (#97409)

This commit is contained in:
Joost Lekkerkerker 2023-07-28 19:41:41 +02:00 committed by GitHub
parent e1f14ed990
commit 8101376ad5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,6 @@ __all__ = [
"EventDeviceClass",
"EventEntity",
"EventEntityDescription",
"EventEntityFeature",
]
# mypy: disallow-any-generics
@ -104,7 +103,7 @@ class EventExtraStoredData(ExtraStoredData):
class EventEntity(RestoreEntity):
"""Representation of a Event entity."""
"""Representation of an Event entity."""
entity_description: EventEntityDescription
_attr_device_class: EventDeviceClass | None