diff --git a/src/app/clusters/laundry-dryer-controls-server/laundry-dryer-controls-server.cpp b/src/app/clusters/laundry-dryer-controls-server/laundry-dryer-controls-server.cpp index 3f9e1646f1ec11..32adbefc76ed65 100644 --- a/src/app/clusters/laundry-dryer-controls-server/laundry-dryer-controls-server.cpp +++ b/src/app/clusters/laundry-dryer-controls-server/laundry-dryer-controls-server.cpp @@ -171,7 +171,7 @@ Status MatterLaundryDryerControlsClusterServerPreAttributeChangedCallback(const { // Can't find the attribute to be written in the supported list (CHIP_ERROR_PROVIDER_LIST_EXHAUSTED) // Or can't get the correct supported list - return Status::InvalidInState; + return Status::ConstraintError; } static_assert(sizeof(DrynessLevelEnum) == sizeof(*value), "Enum size doesn't match parameter size"); if (supportedDryness == static_cast(*value))