Skip to content

Fix/q10-fault-vacuum-error#792

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

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

Conversation

@lboue
Copy link
Contributor

@lboue lboue commented Mar 21, 2026

  • 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 lboue force-pushed the fix/q10-fault-vacuum-error branch from ad5db23 to 24e3a92 Compare March 21, 2026 19:24
@lboue lboue marked this pull request as ready for review March 21, 2026 19:26
Copilot AI review requested due to automatic review settings March 21, 2026 19:26
Copy link
Contributor

Copilot AI left a comment

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.

File Description
roborock/data/b01_q10/b01_q10_containers.py Adds fault field to the Q10 status dataclass using the established DPS metadata mapping.
tests/devices/traits/b01/q10/test_status.py Updates 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:main Mar 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 free to 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