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 99from .charge_state import GetChargeState
1010from .error import GetError
1111from .fan_speed import GetFanSpeed
12+ from .play_sound import PlaySound
1213from .pos import GetPos
1314from .stats import GetCleanSum
1415
2122 "GetError" ,
2223 "GetFanSpeed" ,
2324 "GetPos" ,
25+ "PlaySound" ,
2426]
2527
2628# fmt: off
2729# ordered by file asc
2830_COMMANDS : list [type [XmlCommand ]] = [
2931 GetError ,
32+ PlaySound ,
3033]
3134# fmt: on
3235
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