mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 09:17:46 +01:00
parent
1efabd27d8
commit
fda8dd4ce3
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ void PIDClimate::control(const climate::ClimateCall &call) {
|
|||
if (call.get_target_temperature().has_value())
|
||||
this->target_temperature = *call.get_target_temperature();
|
||||
|
||||
// If switching to non-auto mode, set output immediately
|
||||
if (this->mode != climate::CLIMATE_MODE_HEAT_COOL)
|
||||
// If switching to off mode, set output immediately
|
||||
if (this->mode == climate::CLIMATE_MODE_OFF)
|
||||
this->handle_non_auto_mode_();
|
||||
|
||||
this->publish_state();
|
||||
|
|
Loading…
Reference in a new issue