Skip to content

Commit 64162ba

Browse files
committed
docs: Improve docstring accuracy for V1 trait converter classes.
1 parent ab91b5d commit 64162ba

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

roborock/devices/traits/v1/clean_summary.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010

1111
class CleanSummaryConverter(common.V1TraitDataConverter):
12-
"""Converter for CleanSumary objects."""
12+
"""Converter for CleanSummaryWithDetail objects."""
1313

1414
def convert(self, response: common.V1ResponseData) -> RoborockBase:
1515
"""Parse the response from the device into a CleanSummary."""

roborock/devices/traits/v1/device_features.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010

1111
class DeviceTraitsConverter(common.V1TraitDataConverter):
12-
"""Converter for CleanSumary objects."""
12+
"""Converter for DeviceFeatures objects."""
1313

1414
def __init__(self, product: HomeDataProduct) -> None:
15-
"""Initialize CleanSummaryConverter."""
15+
"""Initialize DeviceTraitsConverter."""
1616
self._product = product
1717

1818
def convert(self, response: common.V1ResponseData) -> DeviceFeatures:

roborock/devices/traits/v1/network_info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414

1515
class NetworkInfoConverter(common.V1TraitDataConverter):
16-
"""Converter for CleanSumary objects."""
16+
"""Converter for NetworkInfo objects."""
1717

1818
def convert(self, response: common.V1ResponseData) -> NetworkInfo:
1919
"""Parse the response from the device into a NetworkInfoConverter instance."""

0 commit comments

Comments
 (0)