mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
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
This commit is contained in:
@@ -1457,8 +1457,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 */
|
||||
|
||||
Reference in New Issue
Block a user