There was an error while loading. Please reload this page.
1 parent 235e48e commit 72ad898Copy full SHA for 72ad898
1 file changed
roborock/devices/v1_channel.py
@@ -64,20 +64,11 @@ class RpcStrategy:
64
in how messages are encoded/decoded and which channel is used.
65
"""
66
67
- name: str
68
- """Name of the strategy for logging purposes."""
69
-
+ name: str # For debug logging
70
channel: LocalChannel | MqttChannel
71
- """Channel to use for communication."""
72
73
encoder: Callable[[RequestMessage], RoborockMessage]
74
- """Function to encode request messages for the channel."""
75
76
decoder: Callable[[RoborockMessage], ResponseMessage | MapResponse | None]
77
- """Function to decode response messages from the channel."""
78
79
health_manager: HealthManager | None = None
80
- """Optional health manager for monitoring the channel."""
81
82
83
class RpcChannel(V1RpcChannel):
0 commit comments