Skip to content

Fix/q10-fault-vacuum-error - #792

Merged
Lash-L merged 1 commit into
Python-roborock:mainfrom
lboue:fix/q10-fault-vacuum-error
Mar 21, 2026
Merged

Fix/q10-fault-vacuum-error#792
Lash-L merged 1 commit into
Python-roborock:mainfrom
lboue:fix/q10-fault-vacuum-error

Conversation

@lboue

@lbouelboue commented Mar 21, 2026

Copy link
Copy Markdown
Contributor
  • Added the missing fault field to Q10Status in python-roborock, mapped to B01_Q10_DP.FAULT (dpFault, DPS 90).
  • Extended Q10 status trait tests to assert fault is present and correctly parsed during refresh.

Expose dpFault in Q10Status so integrations can read Q10 vacuum error
information and add test coverage for refresh parsing.
@lboue
lboueforce-pushed the fix/q10-fault-vacuum-error branch from ad5db23 to 24e3a92CompareMarch 21, 2026 19:24
@lboue
lboue marked this pull request as ready for review March 21, 2026 19:26
CopilotAI review requested due to automatic review settings March 21, 2026 19:26

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds support for the Q10 (B01) vacuum fault/error datapoint by exposing it on the Q10Status container and validating parsing via the existing status trait refresh test.

Changes:

  • Added fault to Q10Status, mapped to B01_Q10_DP.FAULT (dpFault, DPS 90).
  • Extended Q10 status trait refresh test to assert fault is None initially and correctly parsed after refresh.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
roborock/data/b01_q10/b01_q10_containers.pyAdds fault field to the Q10 status dataclass using the established DPS metadata mapping.
tests/devices/traits/b01/q10/test_status.pyUpdates refresh test assertions to cover the new fault status field and confirm correct parsing from test payload.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Lash-L
Lash-L merged commit 66d76fc into Python-roborock:mainMar 21, 2026
10 of 11 checks passed
@lboue
lboue deleted the fix/q10-fault-vacuum-error branch March 21, 2026 19:40
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@lboue@Lash-L