Skip to content

Commit 6cf9755

Browse files
authored
revert comment changes and move it to a further PR
1 parent 4d23d25 commit 6cf9755

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

miio/integrations/roidmi/vacuum/roidmivacuum_miot.py

+3
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ def status(self) -> RoidmiVacuumStatus:
558558
return RoidmiVacuumStatus(
559559
{
560560
prop["did"]: prop["value"] if prop["code"] == 0 else None
561+
# max_properties limmit to 10 to avoid "Checksum error" messages from the device.
561562
for prop in self.get_properties_for_mapping()
562563
}
563564
)
@@ -568,6 +569,7 @@ def consumable_status(self) -> RoidmiConsumableStatus:
568569
return RoidmiConsumableStatus(
569570
{
570571
prop["did"]: prop["value"] if prop["code"] == 0 else None
572+
# max_properties limmit to 10 to avoid "Checksum error" messages from the device.
571573
for prop in self.get_properties_for_mapping()
572574
}
573575
)
@@ -578,6 +580,7 @@ def cleaning_summary(self) -> RoidmiCleaningSummary:
578580
return RoidmiCleaningSummary(
579581
{
580582
prop["did"]: prop["value"] if prop["code"] == 0 else None
583+
# max_properties limmit to 10 to avoid "Checksum error" messages from the device.
581584
for prop in self.get_properties_for_mapping()
582585
}
583586
)

0 commit comments

Comments
 (0)