mirror of
https://github.com/espressif/esp-matter.git
synced 2026-04-27 19:13:13 +00:00
fb80d15634
attribute::report() was ignoring the return value from set_val() and always returning ESP_OK. This hid errors like ESP_ERR_NOT_SUPPORTED for internally managed attributes (e.g., BooleanState::StateValue). This fix: - Propagates the error from set_val() back to the caller - Checks return value of get_val() in report() - Adds void cast to intentionally unchecked get_data_from_attr_val() call in update() Related: https://github.com/espressif/esp-matter/issues/1724 Backport of !1441 (main), !1458 (v1.5)