We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7945282 commit 7aef39dCopy full SHA for 7aef39d
deebot_client/commands/xml/__init__.py
@@ -9,6 +9,7 @@
9
from .charge_state import GetChargeState
10
from .error import GetError
11
from .fan_speed import GetFanSpeed
12
+from .play_sound import PlaySound
13
from .pos import GetPos
14
from .stats import GetCleanSum
15
@@ -21,12 +22,14 @@
21
22
"GetError",
23
"GetFanSpeed",
24
"GetPos",
25
+ "PlaySound",
26
]
27
28
# fmt: off
29
# ordered by file asc
30
_COMMANDS: list[type[XmlCommand]] = [
31
GetError,
32
+ PlaySound,
33
34
# fmt: on
35
deebot_client/commands/xml/play_sound.py
@@ -0,0 +1,14 @@
1
+"""Play sound commands."""
2
+
3
+from __future__ import annotations
4
5
+from .common import ExecuteCommand
6
7
8
+class PlaySound(ExecuteCommand):
+ """Play sound command."""
+ name = "PlaySound"
+ def __init__(self) -> None:
+ super().__init__({"sid": "30"})
0 commit comments