[docs]@dataclassclassEventEntity:"""Represents a ONVIF event entity."""# Unique identifier for the entityuid:str# Human-readable name for the entityname:str# Type of platform (e.g., sensor, binary_sensor, event)platform:str# Optional device class (e.g., motion, alarm, safety). The options vary based on the# platform.# See https://www.home-assistant.io/integrations/homeassistant/#device-classdevice_class:str|None=None# Optional unit of measurement (e.g., percent)unit_of_measurement:str|None=None# Current value of the entity. Most onvif events are boolean (True/False), but this# could be an integer or other types. Timestamps are unparsed strings.value:Any=None# Optional entity category (e.g., diagnostic, configuration). The default (sensor)# does not need to be specified.entity_category:str|None=None# Indicates whether the entity is enabled by default. Defaults to True.entity_enabled:bool=True