Skip to content

Commit 0e9c0f1

Browse files
authored
Fix water info events (#932)
1 parent 8630f43 commit 0e9c0f1

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

deebot_client/events/water_info.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ class SweepType(IntEnum):
3333
DEEP = 2
3434

3535

36-
WaterAmountEvent = ValueEvent[WaterAmount]
37-
WaterSweepTypeEvent = ValueEvent[SweepType]
38-
MopAttachedEvent = ValueEvent[bool]
36+
class WaterAmountEvent(ValueEvent[WaterAmount]):
37+
"""Water amount event."""
38+
39+
40+
class WaterSweepTypeEvent(ValueEvent[SweepType]):
41+
"""Water sweep type event."""
42+
43+
44+
class MopAttachedEvent(ValueEvent[bool]):
45+
"""Mop attached event."""

0 commit comments

Comments
 (0)