Skip to content

Commit

Permalink
Fix wrong update in Cluster view mode
Browse files Browse the repository at this point in the history
  • Loading branch information
agners committed May 24, 2023
1 parent 59f0428 commit bbb59ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/python/chip/clusters/Attribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ def UpdateCachedData(self, changedPathSet: set[AttributePath]):
try:
# Since the TLV data is already organized by attribute tags, we can trivially convert to a cluster object representation.
endpointCache[clusterType] = clusterType.FromDict(
data=clusterType.descriptor.TagDictToLabelDict([], cluster))
data=clusterType.descriptor.TagDictToLabelDict([], tlvCache[endpoint][cluster]))
endpointCache[clusterType].SetDataVersion(
clusterDataVersion)
except Exception as ex:
Expand Down

0 comments on commit bbb59ed

Please sign in to comment.