Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle both REPORT_CONFIG and ZCL_INIT_ATTRS
If both ZCL_INIT_ATTRS and REPORT_CONFIG contain the same attribute, with the current cluster logic, you end up in a situation where said attribute is marked as both cacheable and uncacheable at the same time, leading to it being configured twice. As they are designed to be mutually exclusive of each other, let's add the logic to remove attributes from ZCL_INIT_ATTRS if they are already present in REPORT_CONFIG. REPORT_CONFIG will take precedence over ZCL_INIT_ATTRS.
- Loading branch information