Commit 66fcb83
fix: use YXCleanType for Q10Status.clean_mode instead of YXDeviceWorkMode (#810)
* fix: use YXCleanType for Q10Status.clean_mode instead of YXDeviceWorkMode
DPS 137 (CLEAN_MODE) reports clean type values (1=vac+mop, 2=vacuum,
3=mop) which map to YXCleanType, not YXDeviceWorkMode.
* test: assert clean_mode maps DPS 137 to YXCleanType in status refresh test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Ludovic BOUÉ <132135057+lboue@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent e1f3cb8 commit 66fcb83
File tree
2 files changed
+4
-2
lines changed- roborock/data/b01_q10
- tests/devices/traits/b01/q10
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
156 | 158 | | |
157 | 159 | | |
158 | 160 | | |
| |||
0 commit comments