Skip to content

Commit ca14559

Browse files
Andrew YeatsAndrew Yeats
authored andcommitted
docs: refer to the ss07 fault spec, not the app (review feedback)
1 parent e2829d6 commit ca14559

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

roborock/data/b01_q10/b01_q10_code_mappings.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class YXCarpetCleanType(RoborockModeEnum):
290290

291291

292292
class YXFault(RoborockModeEnum):
293-
"""Q10 (B01/ss07) ``dpFault`` (90) codes, seeded from the ss07 app's fault i18n.
293+
"""Q10 (B01/ss07) ``dpFault`` (90) codes, from the ss07 fault spec.
294294
295295
``dpFault`` is *overloaded*: several values are lifecycle/status rather than
296296
errors (e.g. 400 = scheduled clean starting, 501 = returning to dock,
@@ -300,11 +300,11 @@ class YXFault(RoborockModeEnum):
300300
removed), so a ``None``/``NONE`` fault does not imply the absence of an
301301
error condition.
302302
303-
These labels follow the ss07 app text, which differs from the Q7 ``B01Fault``
304-
for several shared numbers (500, 501, 503, 569, 570) -- so this is a
305-
Q10-specific map, not a reuse of ``B01Fault``. Codes marked "hw-confirmed" were observed
306-
firing live on a physical ss07 in a context matching the label; the rest are
307-
app-sourced only (single device, single app version).
303+
These labels differ from the Q7 ``B01Fault`` for several shared numbers
304+
(500, 501, 503, 569, 570) -- so this is a Q10-specific map, not a reuse of
305+
``B01Fault``. Codes marked "hw-confirmed" were observed firing live on a
306+
physical ss07 in a context matching the label; the rest are from the spec
307+
only, not yet observed live (single device).
308308
"""
309309

310310
UNKNOWN = "unknown", -1
@@ -336,7 +336,7 @@ class YXFault(RoborockModeEnum):
336336
STARTING_SCHEDULED_CLEAN = "starting_scheduled_clean", 400 # hw-confirmed x3; lifecycle, not an error
337337
# hw-confirmed (a due scheduled clean fired mid-clean and was ignored); lifecycle, not an error
338338
CLEANING_IN_PROGRESS = "cleaning_in_progress", 407
339-
EMPTY_DUSTBIN = "empty_dustbin", 500 # ss07 != Q7 B01Fault (lidar_blocked); app-sourced
339+
EMPTY_DUSTBIN = "empty_dustbin", 500 # ss07 != Q7 B01Fault (lidar_blocked); spec-only
340340
# hw-confirmed, fires per completed task; ss07 != Q7 (robot_suspended)
341341
CLEANING_COMPLETED_RETURNING = "cleaning_completed_returning", 501
342342
LOW_BATTERY_RESUME = "low_battery_resume", 502 # hw-confirmed; lifecycle

0 commit comments

Comments
 (0)