diff --git a/src_data/pages/sensors.html b/src_data/pages/sensors.html
index 617300e..6aaf6b4 100644
--- a/src_data/pages/sensors.html
+++ b/src_data/pages/sensors.html
@@ -114,10 +114,10 @@
-
+
-
+
-
+
-
+
+ sensors.filtering.desc
+
+
+
+
+
+
+
+
@@ -221,6 +224,20 @@
const parentGpio = gpio.parentElement;
const parentAddress = address.parentElement;
+ switch(parseInt(event.target.value)) {
+ // heating setpoint, manual
+ case 253:
+ case 254:
+ hide(".correction", sensorForm);
+ hide(".filtering", sensorForm);
+ break;
+
+ // other
+ default:
+ show(".correction", sensorForm);
+ show(".filtering", sensorForm);
+ }
+
switch(parseInt(event.target.value)) {
// ntc
case 50:
@@ -251,6 +268,7 @@
break;
}
});
+
sensorNode.addEventListener("click", async (event) => {
if (parseInt(sensorNode.dataset.preloaded)) {
return;