Repair type: Update the type of safety_status attribute

This commit is contained in:
wanghuixiao
2023-02-28 15:52:13 +08:00
parent 718a05525c
commit 8d3b0aab81
@@ -1608,7 +1608,7 @@ attribute_t *create_mode(cluster_t *cluster, uint8_t value)
attribute_t *create_safety_status(cluster_t *cluster, uint16_t value)
{
return esp_matter::attribute::create(cluster, WindowCovering::Attributes::SafetyStatus::Id, ATTRIBUTE_FLAG_NONE,
esp_matter_uint16(value));
esp_matter_bitmap16(value));
}
} /* attribute */