-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[python] update cached attributes incrementally (#26774)
* [python] update cached attributes incrementally Instead of rebuilding the cache from scratch on every report, just update the Endpoint/Cluster/Attributes which actually changed. Obviously, this is significantly faster, especially for small updates. * Update src/controller/python/chip/clusters/Attribute.py Co-authored-by: Marcel van der Veldt <[email protected]> * Address review feedback * Address one more unnecessary if bracket * Add attribute cache tests using integration tests * Fix lintinig issues * Apply same report interval * Increase timeout for mobile-device-test.py --------- Co-authored-by: Marcel van der Veldt <[email protected]>
- Loading branch information
Showing
3 changed files
with
137 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters