Events emitted by MySkoda.
BaseEvent
dataclass
Bases: DataClassORJSONMixin
Base model for all Events.
Raw events from the MQTT broker don't include vin or event_type.
from_mqtt_message(topic, payload)
classmethod
Return a parsed event object.
'topic' is the original MQTT topic on which the event was received 'payload' is the original payload as a binary string
BaseEventData
dataclass
Bases: DataClassORJSONMixin
Base model for data in all Events.
EventType
Bases: StrEnum
The different 'types' of events.
The type is determine by a part of the MQTT topic.