Skip to content

Commit 3031dc0

Browse files
committed
chore: Add comment about firmware updates
1 parent 22d9587 commit 3031dc0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

roborock/devices/traits/v1/device_features.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ async def refresh(self) -> Self:
2121
"""Refresh the contents of this trait.
2222
2323
This will use cached device features if available since they do not
24-
change often and this avoids unnecessary RPC calls.
24+
change often and this avoids unnecessary RPC calls. This would only
25+
ever change with a firmware update, so caching is appropriate.
2526
"""
2627
cache_data = await self._cache.get()
2728
if cache_data.device_features is not None:

0 commit comments

Comments
 (0)