From 30806a61c47e82404101bb1a354b915cb4e37e23 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Wed, 20 Aug 2025 16:06:40 -0600 Subject: [PATCH] expanding the json file so the the new scd30 subtype for co2 has the mode/calibration part --- src/component/ComponentMode.json | 39 ++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/src/component/ComponentMode.json b/src/component/ComponentMode.json index 16cea43..2c66a6e 100644 --- a/src/component/ComponentMode.json +++ b/src/component/ComponentMode.json @@ -38,6 +38,45 @@ ] } }, + { + "type": 12, + "subtype": 1, + "mode": { + "labelA": "Power Mode", + "entryA": "select", + "dictionaryA": [ + { + "key": "High Power", + "value": 1, + "restricted": false + }, + { + "key": "Low Power", + "value": 2, + "restricted": false + }, + { + "key": "Calibration", + "value": 3, + "restricted": true + } + ], + "labelB": "Number of Averages", + "entryB": "number", + "dictionaryB": [ + { + "key": "min", + "value": 1, + "restricted": false + }, + { + "key": "max", + "value": 8, + "restricted": false + } + ] + } + }, { "type": 28, "subtype": 0,