@@ -8,40 +8,40 @@ class RoborockFinishReason(RoborockEnum):
88 manual_interrupt = 21 # Cleaning interrupted by user
99 cleanup_interrupted = 24 # Cleanup interrupted
1010 manual_interrupt_2 = 21
11- manual_interrupt_12 = 29
11+ manual_interrupt_12 = ( 29 , "manual_interrupt" )
1212 breakpoint = 32 # Could not continue cleaning
13- breakpoint_2 = 33
14- cleanup_interrupted_2 = 34
15- manual_interrupt_3 = 35
16- manual_interrupt_4 = 36
17- manual_interrupt_5 = 37
18- manual_interrupt_6 = 43
13+ breakpoint_2 = ( 33 , "breakpoint" )
14+ cleanup_interrupted_2 = ( 34 , "cleanup_interrupted" )
15+ manual_interrupt_3 = ( 35 , "manual_interrupt" )
16+ manual_interrupt_4 = ( 36 , "manual_interrupt" )
17+ manual_interrupt_5 = ( 37 , "manual_interrupt" )
18+ manual_interrupt_6 = ( 43 , "manual_interrupt" )
1919 locate_fail = 45 # Positioning Failed
20- cleanup_interrupted_3 = 64
21- locate_fail_2 = 65
22- manual_interrupt_7 = 48
23- manual_interrupt_8 = 49
24- manual_interrupt_9 = 50
25- cleanup_interrupted_4 = 51
20+ cleanup_interrupted_3 = ( 64 , "cleanup_interrupted" )
21+ locate_fail_2 = ( 65 , "locate_fail" )
22+ manual_interrupt_7 = ( 48 , "manual_interrupt" )
23+ manual_interrupt_8 = ( 49 , "manual_interrupt" )
24+ manual_interrupt_9 = ( 50 , "manual_interrupt" )
25+ cleanup_interrupted_4 = ( 51 , "cleanup_interrupted" )
2626 finished_cleaning = 52 # Finished cleaning
27- finished_cleaning_2 = 54
28- finished_cleaning_3 = 55
29- finished_cleaning_4 = 56
30- finished_clenaing_5 = 57
31- manual_interrupt_10 = 60
27+ finished_cleaning_2 = ( 54 , "finished_cleaning" )
28+ finished_cleaning_3 = ( 55 , "finished_cleaning" )
29+ finished_cleaning_4 = ( 56 , "finished_cleaning" )
30+ finished_clenaing_5 = ( 57 , "finished_cleaning" )
31+ manual_interrupt_10 = ( 60 , "manual_interrupt" )
3232 area_unreachable = 61 # Area unreachable
33- area_unreachable_2 = 62
33+ area_unreachable_2 = ( 62 , "area_unreachable" )
3434 washing_error = 67 # Washing error
3535 back_to_wash_failure = 68 # Failed to return to the dock
36- cleanup_interrupted_5 = 101
37- breakpoint_4 = 102
38- manual_interrupt_11 = 103
39- cleanup_interrupted_6 = 104
40- cleanup_interrupted_7 = 105
41- cleanup_interrupted_8 = 106
42- cleanup_interrupted_9 = 107
43- cleanup_interrupted_10 = 109
44- cleanup_interrupted_11 = 110
36+ cleanup_interrupted_5 = ( 101 , "cleanup_interrupted" )
37+ breakpoint_4 = ( 102 , "breakpoint" )
38+ manual_interrupt_11 = ( 103 , "manual_interrupt" )
39+ cleanup_interrupted_6 = ( 104 , "cleanup_interrupted" )
40+ cleanup_interrupted_7 = ( 105 , "cleanup_interrupted" )
41+ cleanup_interrupted_8 = ( 106 , "cleanup_interrupted" )
42+ cleanup_interrupted_9 = ( 107 , "cleanup_interrupted" )
43+ cleanup_interrupted_10 = ( 109 , "cleanup_interrupted" )
44+ cleanup_interrupted_11 = ( 110 , "cleanup_interrupted" )
4545 patrol_success = 114 # Cruise completed
4646 patrol_fail = 115 # Cruise failed
4747 pet_patrol_success = 116 # Pet found
@@ -159,7 +159,7 @@ class ClearWaterBoxStatus(RoborockDssCodes):
159159
160160 okay = 0
161161 out_of_water = 1
162- out_of_water_2 = 38
162+ out_of_water_2 = ( 38 , "out_of_water" )
163163 refill_error = 48
164164
165165
@@ -168,7 +168,7 @@ class DirtyWaterBoxStatus(RoborockDssCodes):
168168
169169 okay = 0
170170 full_not_installed = 1
171- full_not_installed_2 = 39
171+ full_not_installed_2 = ( 39 , "full_not_installed" )
172172 drain_error = 49
173173
174174
@@ -232,7 +232,7 @@ class RoborockErrorCode(RoborockEnum):
232232 clear_brush_exception = 42 # Check that the water filter has been correctly installed
233233 clear_brush_exception_2 = 43 # Positioning button error
234234 filter_screen_exception = 44 # Clean the dock water filter
235- mopping_roller_2 = 45 # Wash roller may be jammed
235+ mopping_roller_2 = ( 45 , "mopping_roller_1" ) # Wash roller may be jammed
236236 up_water_exception = 48
237237 drain_water_exception = 49
238238 temperature_protection = 51 # Unit temperature protection
@@ -701,7 +701,7 @@ class RoborockStateCode(RoborockEnum):
701701 segment_cleaning = 18
702702 emptying_the_bin = 22 # on s7+
703703 washing_the_mop = 23 # on a46
704- washing_the_mop_2 = 25
704+ washing_the_mop_2 = ( 25 , "washing_the_mop" )
705705 going_to_wash_the_mop = 26 # on a46
706706 in_call = 28
707707 mapping = 29
0 commit comments