Skip to content

Commit c589925

Browse files
committed
chore: address code review feedback
1 parent 1a0d3df commit c589925

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

roborock/devices/device.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def __init__(
3838
) -> None:
3939
"""Initialize the RoborockDevice.
4040
41-
The device takes ownership of the V1 channel for communication with the device.
41+
The device takes ownership of the channel for communication with the device.
4242
Use `connect()` to establish the connection, which will set up the appropriate
4343
protocol channel. Use `close()` to clean up all connections.
4444
"""

roborock/devices/traits/status.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,7 @@ class StatusTrait(Trait):
3030
name = "status"
3131

3232
def __init__(self, product_info: HomeDataProduct, rpc_channel: V1RpcChannel) -> None:
33-
"""Initialize the RoborockDevice.
34-
35-
The device takes ownership of the V1 channel for communication with the device.
36-
Use `connect()` to establish the connection, which will set up the appropriate
37-
protocol channel. Use `close()` to clean up all connections.
38-
"""
33+
"""Initialize the StatusTrait."""
3934
self._product_info = product_info
4035
self._rpc_channel = rpc_channel
4136

0 commit comments

Comments
 (0)