Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix DataModelLogger::LogAttribute for unknown attributes. (#14775)
LogAttribute was missing break statements in its switches, so trying to read an attribute that controller-clusters does not have enabled (e.g. UniqueID from Bridged Device Basic Information) would start falling through to other clusters and possibly trying to treat it as another attribute that happens to have the same attribute id (in this case the Primary1Y attribute from Color Control). Then TLV decoding would fail due to type mismatch errors, which is not what we want here.
- Loading branch information