Skip to content

Commit 2be7cc6

Browse files
committed
Re-order XML Messages and Commands
1 parent a853a75 commit 2be7cc6

2 files changed

Lines changed: 19 additions & 4 deletions

File tree

deebot_client/commands/xml/__init__.py

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,30 @@
4141
# fmt: off
4242
# ordered by file asc
4343
_COMMANDS: list[type[XmlCommand]] = [
44+
GetBatteryInfo,
45+
46+
Charge,
47+
48+
GetChargeState,
49+
4450
Clean,
4551
CleanArea,
46-
GetBatteryInfo,
47-
GetChargerPos,
52+
GetCleanState,
53+
4854
GetCleanLogs,
55+
4956
GetError,
50-
GetCleanState,
57+
58+
GetFanSpeed,
59+
5160
GetLifeSpan,
52-
GetPos,
61+
5362
PlaySound,
63+
64+
GetChargerPos,
65+
GetPos,
66+
67+
GetCleanSum,
5468
]
5569
# fmt: on
5670

deebot_client/messages/xml/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
# ordered by file asc
1818
_MESSAGES: list[type[Message]] = [
1919
BatteryInfo,
20+
2021
Pos
2122
]
2223
# fmt: on

0 commit comments

Comments
 (0)