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", "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