refactor: heating temperature step changed

* step changed to 0.1
* added processing of long presses on thermostats in the dashboard
This commit is contained in:
Yurii
2025-03-06 04:29:01 +03:00
parent 8fa440810c
commit 6a26e27d39
3 changed files with 96 additions and 87 deletions

View File

@@ -849,4 +849,8 @@ function dec2hex(i) {
}
return hex.toUpperCase();
}
function constrain(amt, low, high) {
return ((amt) < (low) ? (low) : ((amt) > (high) ? (high) : (amt)));
}