fix : v1.5.9 еще внес правки по отображению температуры.
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
[version]
|
[version]
|
||||||
major = 1
|
major = 1
|
||||||
minor = 5
|
minor = 5
|
||||||
patch = 8
|
patch = 9
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
date = "2026-09-29"
|
date = "2026-09-29"
|
||||||
time = "23:02:17"
|
time = "23:38:58"
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ function render(status) {
|
|||||||
airCard.style.setProperty("--air-color", airPalette.color);
|
airCard.style.setProperty("--air-color", airPalette.color);
|
||||||
airCard.style.setProperty("--air-glow", airPalette.glow);
|
airCard.style.setProperty("--air-glow", airPalette.glow);
|
||||||
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
$("#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("#humidity", numberOrDash(sensor.humidity));
|
||||||
setText("#current-time", schedule.current_time || tion.device_time || "—");
|
setText("#current-time", schedule.current_time || tion.device_time || "—");
|
||||||
setText("#next-time", schedule.next_time || "—");
|
setText("#next-time", schedule.next_time || "—");
|
||||||
|
|||||||
+1
-1
@@ -74,7 +74,7 @@ function renderAir(sensor, tion) {
|
|||||||
airCard.style.setProperty("--air-glow", airPalette.glow);
|
airCard.style.setProperty("--air-glow", airPalette.glow);
|
||||||
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
$("#co2-progress").style.width = `${Math.max(0, Math.min(100, quality.pct))}%`;
|
||||||
setPill("#sensor-status", sensor.online ? "Online" : "Offline", sensor.online ? "good" : "bad");
|
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("#humidity", numberOrDash(sensor.humidity));
|
||||||
text("#pm25", numberOrDash(sensor.pm25));
|
text("#pm25", numberOrDash(sensor.pm25));
|
||||||
text("#pm10", numberOrDash(sensor.pm10));
|
text("#pm10", numberOrDash(sensor.pm10));
|
||||||
|
|||||||
+1
-1
@@ -158,6 +158,6 @@
|
|||||||
</footer>
|
</footer>
|
||||||
</form>
|
</form>
|
||||||
</dialog>
|
</dialog>
|
||||||
<script type="module" src="/ui/static/js/tion.js?v=20260927-1"></script>
|
<script type="module" src="/ui/static/js/tion.js?v=2"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
Reference in New Issue
Block a user