Add missing device_class to EventInfo
This commit is contained in:
parent
13bbbd0d24
commit
abb36ad92d
|
@ -265,6 +265,7 @@ class CoverState(EntityState):
|
||||||
# ==================== EVENT ==================
|
# ==================== EVENT ==================
|
||||||
@_frozen_dataclass_decorator
|
@_frozen_dataclass_decorator
|
||||||
class EventInfo(EntityInfo):
|
class EventInfo(EntityInfo):
|
||||||
|
device_class: str = ""
|
||||||
event_types: list[str] = converter_field(default_factory=list, converter=list)
|
event_types: list[str] = converter_field(default_factory=list, converter=list)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue