diff --git a/src/app/clusters/thermostat-server/thermostat-server.cpp b/src/app/clusters/thermostat-server/thermostat-server.cpp index 356c3b1bcadc91..f55d0b0e65b8f2 100644 --- a/src/app/clusters/thermostat-server/thermostat-server.cpp +++ b/src/app/clusters/thermostat-server/thermostat-server.cpp @@ -100,7 +100,8 @@ CHIP_ERROR ThermostatAttrAccess::Read(const ConcreteReadAttributePath & aPath, A { uint8_t valueRemoteSensing; EmberAfStatus status = RemoteSensing::Get(aPath.mEndpointId, &valueRemoteSensing); - if (status != EMBER_ZCL_STATUS_SUCCESS) { + if (status != EMBER_ZCL_STATUS_SUCCESS) + { StatusIB statusIB(ToInteractionModelStatus(status)); return statusIB.ToChipError(); }