mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
Add missing const
This commit is contained in:
parent
7db12c0a63
commit
1f6007712e
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ void PIDClimate::dump_config() {
|
|||
this->autotuner_->dump_config();
|
||||
}
|
||||
}
|
||||
float PIDClimate::clamp_value_by_mode_(float value) {
|
||||
float PIDClimate::clamp_value_by_mode_(float value) const {
|
||||
switch (this->mode) {
|
||||
case climate::CLIMATE_MODE_OFF:
|
||||
return 0.0f;
|
||||
|
|
Loading…
Reference in a new issue