File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
roborock/devices/traits/v1 Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99
1010
1111class DeviceTraitsConverter (common .V1TraitDataConverter ):
12- """Converter for DeviceFeatures objects ."""
12+ """Converter for APP_GET_INIT_STATUS responses into DeviceFeatures ."""
1313
1414 def __init__ (self , product : HomeDataProduct ) -> None :
1515 """Initialize DeviceTraitsConverter."""
1616 self ._product = product
1717
1818 def convert (self , response : common .V1ResponseData ) -> DeviceFeatures :
19- """Parse the response from the device into a MapContentTrait instance."""
19+ """Parse an APP_GET_INIT_STATUS response into a DeviceFeatures instance."""
2020 if not isinstance (response , list ):
2121 raise ValueError (f"Unexpected AppInitStatus response format: { type (response )} : { response !r} " )
2222 app_status = AppInitStatus .from_dict (response [0 ])
You can’t perform that action at this time.
0 commit comments