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 @@ -27,12 +27,12 @@ async def refresh(self) -> Self:
2727 cache_data = await self ._cache .get ()
2828 if cache_data .device_features is not None :
2929 self ._update_trait_values (cache_data .device_features )
30- return cache_data . device_features # type: ignore[return-value]
30+ return self
3131 # Save cached device features
3232 device_features = await super ().refresh ()
3333 cache_data .device_features = device_features
3434 await self ._cache .set (cache_data )
35- return device_features # type: ignore[return-value]
35+ return device_features
3636
3737 def _parse_response (self , response : common .V1ResponseData ) -> DeviceFeatures :
3838 """Parse the response from the device into a MapContentTrait instance."""
You can’t perform that action at this time.
0 commit comments