Add missing device_class to EventInfo

This commit is contained in:
Jesse Hills 2024-04-22 04:32:43 +00:00
parent 13bbbd0d24
commit abb36ad92d
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ class CoverState(EntityState):
# ==================== EVENT ==================
@_frozen_dataclass_decorator
class EventInfo(EntityInfo):
device_class: str = ""
event_types: list[str] = converter_field(default_factory=list, converter=list)