We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc755d1 commit fbf249dCopy full SHA for fbf249d
roborock/devices/traits/v1/common.py
@@ -14,12 +14,14 @@
14
15
_LOGGER = logging.getLogger(__name__)
16
17
+
18
V1ResponseData = dict | list | int | str
19
20
21
class V1TraitDataConverter:
22
"""Converts responses to RoborockBase objects.
23
24
+ This is an internal class and should not be used directly by consumers.
25
"""
26
27
@abstractmethod
@@ -54,7 +56,10 @@ class V1TraitMixin(ABC):
54
56
55
57
58
command: ClassVar[RoborockCommand]
59
+ """The RoborockCommand used to fetch the trait data from the device (internal only)."""
60
61
converter: V1TraitDataConverter
62
+ """The converter used to parse the response from the device (internal only)."""
63
64
def __init__(self) -> None:
65
"""Initialize the V1TraitMixin."""
0 commit comments