mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-15 12:26:33 +03:00
seltemp write in cooling mode #1781
This commit is contained in:
@@ -4189,7 +4189,7 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co
|
|||||||
if (model == EMSdevice::EMS_DEVICE_FLAG_CR120 && mode_ == HeatingCircuit::Mode::MANUAL) {
|
if (model == EMSdevice::EMS_DEVICE_FLAG_CR120 && mode_ == HeatingCircuit::Mode::MANUAL) {
|
||||||
offset = 22; // manual offset CR120
|
offset = 22; // manual offset CR120
|
||||||
} else if (mode_ == HeatingCircuit::Mode::MANUAL) {
|
} else if (mode_ == HeatingCircuit::Mode::MANUAL) {
|
||||||
offset = 10; // manual offset
|
offset = hc->hpoperatingstate == 2 ? 17 : 10; // cooling or manual offset
|
||||||
} else {
|
} else {
|
||||||
offset = 8; // auto offset
|
offset = 8; // auto offset
|
||||||
// special case to reactivate auto temperature, see #737, #746
|
// special case to reactivate auto temperature, see #737, #746
|
||||||
|
|||||||
Reference in New Issue
Block a user