fix : v1.5.8 исправил отображение температуры на странице. Отображалась температура на выходе из бризера, т.е. в комнате.
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
[version]
|
[version]
|
||||||
major = 1
|
major = 1
|
||||||
minor = 5
|
minor = 5
|
||||||
patch = 7
|
patch = 8
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
date = "2026-09-29"
|
date = "2026-09-29"
|
||||||
time = "22:49:44"
|
time = "23:02:17"
|
||||||
|
|||||||
+1
-1
@@ -122,7 +122,7 @@ function render(status) {
|
|||||||
$("#mode-outside").classList.toggle("active", tion.mode === "outside");
|
$("#mode-outside").classList.toggle("active", tion.mode === "outside");
|
||||||
$("#mode-recirculation").classList.toggle("active", tion.mode === "recirculation");
|
$("#mode-recirculation").classList.toggle("active", tion.mode === "recirculation");
|
||||||
text("#mode-name", tion.mode === "recirculation" ? "Рециркуляция" : "Приточная вентиляция");
|
text("#mode-name", tion.mode === "recirculation" ? "Рециркуляция" : "Приточная вентиляция");
|
||||||
text("#outside-temp", numberOrDash(tion.out_temp));
|
text("#outside-temp", numberOrDash(tion.in_temp));
|
||||||
text("#filter-remain", numberOrDash(tion.filter_remain));
|
text("#filter-remain", numberOrDash(tion.filter_remain));
|
||||||
const filterPercent = Math.max(0, Math.min(100, Number(tion.filter_remain || 0) / 2));
|
const filterPercent = Math.max(0, Math.min(100, Number(tion.filter_remain || 0) / 2));
|
||||||
$("#filter-progress").style.width = `${filterPercent}%`;
|
$("#filter-progress").style.width = `${filterPercent}%`;
|
||||||
|
|||||||
Reference in New Issue
Block a user