From 4115495f651bdb8fd374a106c61c80a6b5eac64e Mon Sep 17 00:00:00 2001 From: csawatzky Date: Wed, 20 Aug 2025 16:05:41 -0600 Subject: [PATCH] expanding the json so the new scd30 co2 subtype has the modes in it --- 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,