mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 14:53:07 +05:00
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:
1 parent
d6e1ccb22b
commit
eb5f6c9b46
13 files changed
+20
-21
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user