Skip to content

Commit 691f926

Browse files
Luliguclaude
andcommitted
test: assert clean_mode maps DPS 137 to YXCleanType in status refresh test
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 54147e3 commit 691f926

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/devices/traits/b01/q10/test_status.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
from roborock.data.b01_q10.b01_q10_code_mappings import (
1313
B01_Q10_DP,
14+
YXCleanType,
1415
YXDeviceCleanTask,
1516
YXDeviceState,
1617
YXFanLevel,
@@ -153,6 +154,7 @@ async def test_status_trait_refresh(
153154
assert q10_api.status.sensor_life == 0
154155
assert q10_api.status.cleaning_progress == 100
155156
assert q10_api.status.fault == 0
157+
assert q10_api.status.clean_mode == YXCleanType.VAC_AND_MOP
156158

157159

158160
def test_status_trait_update_listener(q10_api: Q10PropertiesApi) -> None:

0 commit comments

Comments
 (0)