diff --git a/custom_components/deebot/sensor.py b/custom_components/deebot/sensor.py index b9690bb..5000ba4 100644 --- a/custom_components/deebot/sensor.py +++ b/custom_components/deebot/sensor.py @@ -267,6 +267,6 @@ async def on_event(event: CleanLogEvent) -> None: self.async_write_ha_state() listener: EventListener = self._vacuum_bot.events.subscribe( - ErrorEvent, on_event + CleanLogEvent, on_event ) self.async_on_remove(listener.unsubscribe)