From 13ffa74ff5279eb8896ca2d140b3c6a4a011afe7 Mon Sep 17 00:00:00 2001 From: liyashuai Date: Tue, 3 Mar 2026 15:59:06 +0800 Subject: [PATCH] data_model/change identify type attribute flag to ATTRIBUTE_FLAG_NONE to fix init failed fixes: issue:https://github.com/espressif/esp-matter/issues/1612 --- .codespellrc | 2 +- components/esp_matter/data_model/esp_matter_attribute.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.codespellrc b/.codespellrc index 479a2602a..69f8b881a 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,3 +1,3 @@ [codespell] ignore-regex = _ -ignore-words-list = ot, bootup, requestor, pase, lits, kNo +ignore-words-list = ot, bootup, requestor, pase, lits, kNo, currenty diff --git a/components/esp_matter/data_model/esp_matter_attribute.cpp b/components/esp_matter/data_model/esp_matter_attribute.cpp index fa3c3b7f5..b412c4fe6 100644 --- a/components/esp_matter/data_model/esp_matter_attribute.cpp +++ b/components/esp_matter/data_model/esp_matter_attribute.cpp @@ -1426,8 +1426,7 @@ attribute_t *create_identify_time(cluster_t *cluster, uint16_t value) attribute_t *create_identify_type(cluster_t *cluster, uint8_t value) { - return esp_matter::attribute::create(cluster, Identify::Attributes::IdentifyType::Id, ATTRIBUTE_FLAG_MANAGED_INTERNALLY, - esp_matter_enum8(value)); + return esp_matter::attribute::create(cluster, Identify::Attributes::IdentifyType::Id, ATTRIBUTE_FLAG_NONE, esp_matter_enum8(value)); } } /* attribute */