Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

Commit

Permalink
Fix last_cleaning sensor (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhaus authored Nov 15, 2021
1 parent e566586 commit db4d2d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/deebot/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit db4d2d0

Please sign in to comment.