We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82a23f4 commit aae3b27Copy full SHA for aae3b27
examples/energy-management-app/energy-management-common/water-heater/src/WhmDelegateImpl.cpp
@@ -308,7 +308,7 @@ int16_t WaterHeaterManagementDelegate::GetActiveTargetWaterTemperature() const
308
// time, and the TemporarySetpoint (if not null) would be overiding the thermostat's occupiedHeatingSetpoint.
309
// However, this code doesn't rely upon the thermostat cluster.
310
int16_t targetTemperature = (mBoostState == BoostStateEnum::kActive && mBoostTemporarySetpoint.HasValue())
311
- ? static_cast<int16_t>(mBoostTemporarySetpoint.Value())
+ ? mBoostTemporarySetpoint.Value()
312
: mTargetWaterTemperature;
313
314
return targetTemperature;
0 commit comments