Commit 6cf9755 1 parent 4d23d25 commit 6cf9755 Copy full SHA for 6cf9755
File tree 1 file changed +3
-0
lines changed
miio/integrations/roidmi/vacuum
1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -558,6 +558,7 @@ def status(self) -> RoidmiVacuumStatus:
558
558
return RoidmiVacuumStatus (
559
559
{
560
560
prop ["did" ]: prop ["value" ] if prop ["code" ] == 0 else None
561
+ # max_properties limmit to 10 to avoid "Checksum error" messages from the device.
561
562
for prop in self .get_properties_for_mapping ()
562
563
}
563
564
)
@@ -568,6 +569,7 @@ def consumable_status(self) -> RoidmiConsumableStatus:
568
569
return RoidmiConsumableStatus (
569
570
{
570
571
prop ["did" ]: prop ["value" ] if prop ["code" ] == 0 else None
572
+ # max_properties limmit to 10 to avoid "Checksum error" messages from the device.
571
573
for prop in self .get_properties_for_mapping ()
572
574
}
573
575
)
@@ -578,6 +580,7 @@ def cleaning_summary(self) -> RoidmiCleaningSummary:
578
580
return RoidmiCleaningSummary (
579
581
{
580
582
prop ["did" ]: prop ["value" ] if prop ["code" ] == 0 else None
583
+ # max_properties limmit to 10 to avoid "Checksum error" messages from the device.
581
584
for prop in self .get_properties_for_mapping ()
582
585
}
583
586
)
You can’t perform that action at this time.
0 commit comments