From 4c1f80ee3c85a169d8348686091987f1c077ab35 Mon Sep 17 00:00:00 2001 From: Fedorov Dmitriy Date: Tue, 29 Sep 2026 23:18:15 +0300 Subject: [PATCH] =?UTF-8?q?work=20:=20=D0=B5=D1=89=D0=B5=20=D0=B2=D0=B5?= =?UTF-8?q?=D1=81=20=D0=BF=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF=D0=BE=20?= =?UTF-8?q?=D0=BE=D1=82=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8E=20=D1=82=D0=B5=D0=BC=D0=BF=D0=B5=D1=80=D0=B0=D1=82=D1=83?= =?UTF-8?q?=D1=80=D1=8B.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Version.toml | 2 +- web/js/tion-widget.js | 2 +- web/js/tion.js | 2 +- web/tion.html | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Version.toml b/Version.toml index 507e92a..06d6a12 100644 --- a/Version.toml +++ b/Version.toml @@ -1,7 +1,7 @@ [version] major = 1 minor = 5 -patch = 8 +patch = 9 [build] date = "2026-09-29" diff --git a/web/js/tion-widget.js b/web/js/tion-widget.js index 13782df..0983904 100644 --- a/web/js/tion-widget.js +++ b/web/js/tion-widget.js @@ -83,7 +83,7 @@ function render(status) { airCard.style.setProperty("--air-color", airPalette.color); airCard.style.setProperty("--air-glow", airPalette.glow); $("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`; - setText("#room-temp", numberOrDash(sensor.temperature ?? tion.in_temp, 1)); + setText("#room-temp", numberOrDash(sensor.temperature, 1)); setText("#humidity", numberOrDash(sensor.humidity)); setText("#current-time", schedule.current_time || tion.device_time || "—"); setText("#next-time", schedule.next_time || "—"); diff --git a/web/js/tion.js b/web/js/tion.js index 19e85ef..dddbb72 100644 --- a/web/js/tion.js +++ b/web/js/tion.js @@ -74,7 +74,7 @@ function renderAir(sensor, tion) { airCard.style.setProperty("--air-glow", airPalette.glow); $("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`; setPill("#sensor-status", sensor.online ? "Online" : "Offline", sensor.online ? "good" : "bad"); - text("#room-temp", numberOrDash(sensor.temperature ?? tion.in_temp, 1)); + text("#room-temp", numberOrDash(sensor.temperature, 1)); text("#humidity", numberOrDash(sensor.humidity)); text("#pm25", numberOrDash(sensor.pm25)); text("#pm10", numberOrDash(sensor.pm10)); diff --git a/web/tion.html b/web/tion.html index 0ac4255..ec60527 100644 --- a/web/tion.html +++ b/web/tion.html @@ -158,6 +158,6 @@ - +