File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
deebot_client/commands/xml Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 9
9
from .charge_state import GetChargeState
10
10
from .error import GetError
11
11
from .fan_speed import GetFanSpeed
12
+ from .play_sound import PlaySound
12
13
from .pos import GetPos
13
14
from .stats import GetCleanSum
14
15
21
22
"GetError" ,
22
23
"GetFanSpeed" ,
23
24
"GetPos" ,
25
+ "PlaySound" ,
24
26
]
25
27
26
28
# fmt: off
27
29
# ordered by file asc
28
30
_COMMANDS : list [type [XmlCommand ]] = [
29
31
GetError ,
32
+ PlaySound ,
30
33
]
31
34
# fmt: on
32
35
Original file line number Diff line number Diff line change
1
+ """Play sound commands."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from .common import ExecuteCommand
6
+
7
+
8
+ class PlaySound (ExecuteCommand ):
9
+ """Play sound command."""
10
+
11
+ name = "PlaySound"
12
+
13
+ def __init__ (self ) -> None :
14
+ super ().__init__ ({"sid" : "30" })
You can’t perform that action at this time.
0 commit comments