File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
roborock/devices/traits/v1 Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,16 @@ class StatusTrait(StatusV2, common.V1TraitMixin):
2121 the latest data from the device. You must pass in the device feature trait
2222 to this trait so that the dynamic attributes can be pre-determined.
2323
24+ The current dynamic attributes are:
25+ - Fan Speed
26+ - Water Mode
27+ - Mop Route
28+
29+ You should call the _options() version of the attribute to know which are supported for your device
30+ (i.e. fan_speed_options())
31+ Then you can call the _mapping to convert an int value to the actual Enum. (i.e. fan_speed_mapping())
32+ You can call the _name property to get the str value of the enum. (i.e. fan_speed_name)
33+
2434 """
2535
2636 command = RoborockCommand .GET_STATUS
You can’t perform that action at this time.
0 commit comments