File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -386,6 +386,7 @@ class RoborockDockTypeCode(RoborockEnum):
386
386
p10_dock = 8
387
387
p10_pro_dock = 9
388
388
s8_maxv_ultra_dock = 10
389
+ qrevo_s_dock = 15
389
390
390
391
391
392
class RoborockDockDustCollectionModeCode (RoborockEnum ):
Original file line number Diff line number Diff line change @@ -612,7 +612,10 @@ class CleanSummary(RoborockBase):
612
612
last_clean_t : int | None = None
613
613
614
614
def __post_init__ (self ) -> None :
615
- self .square_meter_clean_area = round (self .clean_area / 1000000 , 1 ) if self .clean_area is not None else None
615
+ if isinstance (self .clean_area , list ):
616
+ _LOGGER .warning (f"Clean area is a unexpected type! Please give the following in a issue: { self .clean_area } " )
617
+ else :
618
+ self .square_meter_clean_area = round (self .clean_area / 1000000 , 1 ) if self .clean_area is not None else None
616
619
617
620
618
621
@dataclass
Original file line number Diff line number Diff line change 67
67
RoborockDockTypeCode .p10_dock ,
68
68
RoborockDockTypeCode .p10_pro_dock ,
69
69
RoborockDockTypeCode .s8_maxv_ultra_dock ,
70
+ RoborockDockTypeCode .qrevo_s_dock ,
70
71
]
71
72
RT = TypeVar ("RT" , bound = RoborockBase )
72
73
EVICT_TIME = 60
You can’t perform that action at this time.
0 commit comments