mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
RC30 designtemp write, 2.fix #496
This commit is contained in:
@@ -2966,7 +2966,7 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co
|
|||||||
factor = 1;
|
factor = 1;
|
||||||
break;
|
break;
|
||||||
case HeatingCircuit::Mode::DESIGN:
|
case HeatingCircuit::Mode::DESIGN:
|
||||||
if (hc->heatingtype == 3) {
|
if (hc->heatingtype == 3 && model == EMS_DEVICE_FLAG_RC35) {
|
||||||
offset = EMS_OFFSET_RC35Set_temp_design_floor;
|
offset = EMS_OFFSET_RC35Set_temp_design_floor;
|
||||||
} else {
|
} else {
|
||||||
offset = EMS_OFFSET_RC35Set_temp_design;
|
offset = EMS_OFFSET_RC35Set_temp_design;
|
||||||
@@ -3005,7 +3005,7 @@ bool Thermostat::set_temperature(const float temperature, const uint8_t mode, co
|
|||||||
factor = 1;
|
factor = 1;
|
||||||
break;
|
break;
|
||||||
case HeatingCircuit::Mode::MAXFLOW:
|
case HeatingCircuit::Mode::MAXFLOW:
|
||||||
if (hc->heatingtype == 3) {
|
if (hc->heatingtype == 3 && model == EMS_DEVICE_FLAG_RC35) {
|
||||||
offset = 35;
|
offset = 35;
|
||||||
} else {
|
} else {
|
||||||
offset = 15;
|
offset = 15;
|
||||||
|
|||||||
Reference in New Issue
Block a user