fix: correct threshold names across firmware and portal

Use threshold_time for the emergency-mode delay in settings, JSON,
portal forms and all five translations.

Convert legacy tresholdTime backup fields to threshold_time.
Correct the NTC voltage threshold macro names while keeping their limits.
This commit is contained in:
Yurii committed 2026-11-23 07:36:30 +03:00
1 parent d6e1ccb22b
commit eb5f6c9b46
13 files changed
+20 -21

No files matched your search

+1 -1
View File
@@ -370,7 +370,7 @@
"title": "目标温度",
"note": "<b>重要提示:</b> 若启用OpenTherm选项 <i>«原生供暖控制»</i>,此处设定值为<u>目标室内温度</u>;<br />其他所有情况下,此处设定值为 <u>目标热媒出水温度</u>."
},
"treshold": "阈值时间 <small>(秒)</small>"
"thresholdTime": "进入或退出应急模式的延时 <small>(秒)</small>"
},
"equitherm": {
"slope": {
+1 -1
View File
@@ -370,7 +370,7 @@
"title": "Target temperature",
"note": "<b>Important:</b> <u>Target indoor temperature</u> if OT option <i>«Native heating control»</i> is enabled.<br />In all other cases, the <u>target heat carrier temperature</u>."
},
"treshold": "Treshold time <small>(sec)</small>"
"thresholdTime": "Delay before entering or leaving emergency mode <small>(sec)</small>"
},
"equitherm": {
"slope": {
+1 -1
View File
@@ -370,7 +370,7 @@
"title": "Temperatura impostata",
"note": "<b>Importante:</b> <u>Temperatura interna impostata</u> se l'opzione OT <i>«Controllo riscaldamento interno»</i> è attivato.<br />In tutti gli altri casi, la <u>target heat carrier temperature</u>."
},
"treshold": "Tempo di soglia <small>(sec)</small>"
"thresholdTime": "Ritardo di entrata e uscita dalla modalità di emergenza <small>(sec)</small>"
},
"equitherm": {
"slope": {
+1 -1
View File
@@ -370,7 +370,7 @@
"title": "Doeltemperatuur",
"note": "<b>Belangrijk:</b> <u>Doel binnentemperatuur</u> als OT-optie <i>«Natuurlijke verwarmingsregeling»</i> is ingeschakeld.<br />In alle andere gevallen, de <u>doel warmtedragertemperatuur</u>."
},
"treshold": "Drempeltijd <small>(sec)</small>"
"thresholdTime": "Vertraging bij in- en uitschakelen van de noodmodus <small>(sec)</small>"
},
"equitherm": {
"slope": {
+1 -1
View File
@@ -370,7 +370,7 @@
"title": "Целевая температура",
"note": "<b>Важно:</b> <u>Целевая температура в помещении</u>, если включена ОТ опция <i>«Передать управление отоплением котлу»</i>.<br />Во всех остальных случаях <u>целевая температура теплоносителя</u>."
},
"treshold": "Пороговое время включения <small>(сек)</small>"
"thresholdTime": "Задержка входа в аварийный режим и выхода из него <small>(сек)</small>"
},
"equitherm": {
"slope": {
+3 -3
View File
@@ -366,8 +366,8 @@
</label>
<label>
<span data-i18n>settings.emergency.treshold</span>
<input type="number" inputmode="numeric" name="treshold_time" min="60" max="1800" step="1" required>
<span data-i18n>settings.emergency.thresholdTime</span>
<input type="number" inputmode="numeric" name="threshold_time" min="60" max="1800" step="1" required>
</label>
</div>
@@ -1302,7 +1302,7 @@
"max": data.heating.max_temp,
}, form);
}
setInputValue("[name='treshold_time']", data.emergency.treshold_time, {}, form);
setInputValue("[name='threshold_time']", data.emergency.threshold_time, {}, form);
} else if (section === 'equitherm') {
setCheckboxValue("[name='enabled']", data.equitherm.enabled, form);
+1 -1
View File
@@ -54,7 +54,7 @@ const convertLegacyBackup = (data) => {
thresholdHigh: 'threshold_high',
thresholdLow: 'threshold_low',
thresholdTime: 'threshold_time',
tresholdTime: 'treshold_time',
tresholdTime: 'threshold_time',
turboFactor: 'turbo_factor',
unitSystem: 'unit_system',
useDhcp: 'use_dhcp',