Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions roborock/data/v1/v1_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,7 @@ def clean_fluid_status(self) -> CleanFluidStatus | None:
value = (self.dss >> 10) & 3
if value == 0:
return None # Feature not supported by this device
return CleanFluidStatus(value)
return None
Comment on lines 400 to 404
Copy link

Copilot AI Mar 9, 2026

Choose a reason for hiding this comment

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

There’s existing test coverage for DSS-derived status properties (tests/data/v1/test_v1_containers.py), but it currently only asserts the unsupported case where (dss >> 10) & 3 == 0. Since this bug fix changes behavior for non-zero values, please add a test case that sets a dss value with bits 10-11 = 1 or 2 and asserts clean_fluid_status returns the expected CleanFluidStatus.

Copilot uses AI. Check for mistakes.

@property
Expand Down