@@ -37,32 +37,20 @@ class ZeoStatusTrait(RoborockBase, TraitUpdateListener):
3737 state : ZeoState | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .STATE })
3838 error : ZeoError | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .ERROR })
3939 washing_left : int | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .WASHING_LEFT })
40- doorlock_state : bool | None = field (
41- default = None , metadata = {"dps" : RoborockZeoProtocol .DOORLOCK_STATE }
42- )
43- times_after_clean : int | None = field (
44- default = None , metadata = {"dps" : RoborockZeoProtocol .TIMES_AFTER_CLEAN }
45- )
46- app_authorization : bool | None = field (
47- default = None , metadata = {"dps" : RoborockZeoProtocol .APP_AUTHORIZATION }
48- )
40+ doorlock_state : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .DOORLOCK_STATE })
41+ times_after_clean : int | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .TIMES_AFTER_CLEAN })
42+ app_authorization : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .APP_AUTHORIZATION })
4943
5044 # Washer-specific status (None on dryers).
5145 dirt_detection_status : ZeoDirtDetectionStatus | None = field (
5246 default = None , metadata = {"dps" : RoborockZeoProtocol .DIRT_DETECTION_STATUS }
5347 )
54- detergent_empty : bool | None = field (
55- default = None , metadata = {"dps" : RoborockZeoProtocol .DETERGENT_EMPTY }
56- )
57- softener_empty : bool | None = field (
58- default = None , metadata = {"dps" : RoborockZeoProtocol .SOFTENER_EMPTY }
59- )
48+ detergent_empty : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .DETERGENT_EMPTY })
49+ softener_empty : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .SOFTENER_EMPTY })
6050
6151 # Dryer-specific status (None on washers).
6252 total_time : int | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .TOTAL_TIME })
63- cloth_put_in : bool | None = field (
64- default = None , metadata = {"dps" : RoborockZeoProtocol .CLOTH_PUT_IN }
65- )
53+ cloth_put_in : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .CLOTH_PUT_IN })
6654 cloth_ready_to_dry_count_down : int | None = field (
6755 default = None , metadata = {"dps" : RoborockZeoProtocol .CLOTH_READY_TO_DRY_COUNT_DOWN }
6856 )
@@ -71,15 +59,11 @@ class ZeoStatusTrait(RoborockBase, TraitUpdateListener):
7159 )
7260
7361 # Smart-hosting status.
74- smart_hosting_time : int | None = field (
75- default = None , metadata = {"dps" : RoborockZeoProtocol .SMART_HOSTING_TIME }
76- )
62+ smart_hosting_time : int | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .SMART_HOSTING_TIME })
7763 smart_hosting_waited_time : int | None = field (
7864 default = None , metadata = {"dps" : RoborockZeoProtocol .SMART_HOSTING_WAITED_TIME }
7965 )
80- is_need_fluff_clean : bool | None = field (
81- default = None , metadata = {"dps" : RoborockZeoProtocol .IS_NEED_FLUFF_CLEAN }
82- )
66+ is_need_fluff_clean : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .IS_NEED_FLUFF_CLEAN })
8367
8468 # Other read-only status.
8569 custom_program_cleaning_time : int | None = field (
@@ -91,20 +75,12 @@ class ZeoStatusTrait(RoborockBase, TraitUpdateListener):
9175 panel_timing_program_params : int | None = field (
9276 default = None , metadata = {"dps" : RoborockZeoProtocol .PANEL_TIMING_PROGRAM_PARAMS }
9377 )
94- steam_care_time : int | None = field (
95- default = None , metadata = {"dps" : RoborockZeoProtocol .STEAM_CARE_TIME }
96- )
97- device_bound : bool | None = field (
98- default = None , metadata = {"dps" : RoborockZeoProtocol .DEVICE_BOUND }
99- )
78+ steam_care_time : int | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .STEAM_CARE_TIME })
79+ device_bound : bool | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .DEVICE_BOUND })
10080
10181 # Meta — device-reported JSON documents (read-only).
102- product_info : dict [str , Any ] | None = field (
103- default = None , metadata = {"dps" : RoborockZeoProtocol .PRODUCT_INFO }
104- )
105- washing_log : ZeoWashLog | None = field (
106- default = None , metadata = {"dps" : RoborockZeoProtocol .WASHING_LOG }
107- )
82+ product_info : dict [str , Any ] | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .PRODUCT_INFO })
83+ washing_log : ZeoWashLog | None = field (default = None , metadata = {"dps" : RoborockZeoProtocol .WASHING_LOG })
10884
10985 def __init__ (self ) -> None :
11086 """Initialize the status trait."""
0 commit comments