mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
fix rc300 heatingcurve #610
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
### Added
|
||||
- function keys in editor: cursor, del, home, end. F1=help, F2=show, and other shortcuts
|
||||
- SM100 pump working time and energy units
|
||||
- heating curve parameters for RC300
|
||||
- heating curve parameters for RC300 (fixed)
|
||||
- `wwonetime` for RC300 thermostat
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -773,6 +773,16 @@ std::shared_ptr<Thermostat::HeatingCircuit> Thermostat::heating_circuit(std::sha
|
||||
}
|
||||
}
|
||||
|
||||
// not found, search heating_curve message types
|
||||
if (hc_num == 0) {
|
||||
for (uint8_t i = 0; i < curve_typeids.size(); i++) {
|
||||
if (curve_typeids[i] == telegram->type_id) {
|
||||
hc_num = i + 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// not found, search timer message types
|
||||
if (hc_num == 0) {
|
||||
for (uint8_t i = 0; i < timer_typeids.size(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user