From 925d9376ea4974336a290cb6260fb44cf6e7f003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?geir=20r=C3=A5ness?= Date: Fri, 27 Oct 2023 22:16:55 +0200 Subject: [PATCH 1/2] use more allowManualEntry false --- packages/config/config/devices/0x019b/z-trm6.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/config/config/devices/0x019b/z-trm6.json b/packages/config/config/devices/0x019b/z-trm6.json index 089f65cf55b5..ad32af819884 100644 --- a/packages/config/config/devices/0x019b/z-trm6.json +++ b/packages/config/config/devices/0x019b/z-trm6.json @@ -47,6 +47,7 @@ "minValue": 0, "maxValue": 5, "defaultValue": 1, + "allowManualEntry": false, "options": [ { "label": "Floor", @@ -82,6 +83,7 @@ "minValue": 0, "maxValue": 7, "defaultValue": 0, + "allowManualEntry": false, "options": [ { "label": "10", @@ -208,6 +210,7 @@ "minValue": 0, "maxValue": 1, "defaultValue": 0, + "allowManualEntry": false, "options": [ { "label": "Hysteresis", @@ -235,6 +238,7 @@ "minValue": 0, "maxValue": 1, "defaultValue": 0, + "allowManualEntry": false, "options": [ { "label": "Setpoint", @@ -368,6 +372,7 @@ "minValue": 0, "maxValue": 3, "defaultValue": 1, + "allowManualEntry": false, "options": [ { "label": "Off", @@ -394,6 +399,7 @@ "minValue": 0, "maxValue": 1, "defaultValue": 0, + "allowManualEntry": false, "options": [ { "label": "Disabled", From c19384e16fc8311ce35f70fb43f289b60eed12a2 Mon Sep 17 00:00:00 2001 From: Dominic Griesel Date: Mon, 30 Oct 2023 11:28:48 +0100 Subject: [PATCH 2/2] fix: remove unnecessary min/max value --- packages/config/config/devices/0x019b/z-trm6.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/config/config/devices/0x019b/z-trm6.json b/packages/config/config/devices/0x019b/z-trm6.json index ad32af819884..4eeb64a0f2f5 100644 --- a/packages/config/config/devices/0x019b/z-trm6.json +++ b/packages/config/config/devices/0x019b/z-trm6.json @@ -44,8 +44,6 @@ "#": "2", "label": "Sensor Mode", "valueSize": 1, - "minValue": 0, - "maxValue": 5, "defaultValue": 1, "allowManualEntry": false, "options": [ @@ -80,8 +78,6 @@ "label": "External Sensor Resistance", "valueSize": 1, "unit": "kΩ", - "minValue": 0, - "maxValue": 7, "defaultValue": 0, "allowManualEntry": false, "options": [ @@ -207,8 +203,6 @@ "#": "13", "label": "Regulation Mode", "valueSize": 1, - "minValue": 0, - "maxValue": 1, "defaultValue": 0, "allowManualEntry": false, "options": [ @@ -235,8 +229,6 @@ "#": "15", "label": "Temperature Display", "valueSize": 1, - "minValue": 0, - "maxValue": 1, "defaultValue": 0, "allowManualEntry": false, "options": [ @@ -369,8 +361,6 @@ "#": "27", "label": "Operating Mode", "valueSize": 1, - "minValue": 0, - "maxValue": 3, "defaultValue": 1, "allowManualEntry": false, "options": [ @@ -396,8 +386,6 @@ "#": "28", "label": "Open Window Detection", "valueSize": 1, - "minValue": 0, - "maxValue": 1, "defaultValue": 0, "allowManualEntry": false, "options": [