We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ba5d91 commit 231973cCopy full SHA for 231973c
1 file changed
deebot_client/capabilities.py
@@ -60,9 +60,8 @@
60
61
from _typeshed import DataclassInstance
62
63
- from deebot_client.command import Command
+ from deebot_client.command import Command, CommandWithMessageHandling
64
from deebot_client.commands import StationAction
65
- from deebot_client.commands.json.common import ExecuteCommand
66
from deebot_client.events.efficiency_mode import EfficiencyMode, EfficiencyModeEvent
67
from deebot_client.models import CleanAction, CleanMode
68
@@ -100,7 +99,7 @@ class CapabilityEvent(Generic[_EVENT]):
100
99
class CapabilitySet(CapabilityEvent[_EVENT], Generic[_EVENT, _P]):
101
"""Capability setCommand with event."""
102
103
- set: Callable[_P, ExecuteCommand]
+ set: Callable[_P, CommandWithMessageHandling]
104
105
106
@dataclass(frozen=True)
0 commit comments