diff --git a/src/app/clusters/fan-control-server/fan-control-server.cpp b/src/app/clusters/fan-control-server/fan-control-server.cpp index 5a524179073007..71c3342f5a871f 100644 --- a/src/app/clusters/fan-control-server/fan-control-server.cpp +++ b/src/app/clusters/fan-control-server/fan-control-server.cpp @@ -136,6 +136,10 @@ MatterFanControlClusterServerPreAttributeChangedCallback(const ConcreteAttribute } res = Status::Success; } + else + { + res = Status::Success; + } break; } case SpeedSetting::Id: { @@ -384,6 +388,7 @@ void MatterFanControlClusterServerAttributeChangedCallback(const app::ConcreteAt ChipLogError(Zcl, "Failed to set PercentSetting with error: 0x%02x", status)); } } + break; } default: break;