diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index 025954be5..a5e60640f 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -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 diff --git a/src/devices/thermostat.cpp b/src/devices/thermostat.cpp index fd19f6acb..17c1c1ab9 100644 --- a/src/devices/thermostat.cpp +++ b/src/devices/thermostat.cpp @@ -773,6 +773,16 @@ std::shared_ptr 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++) {