Merge PR #7: Sensors: Update co sensor to latest interface

This commit is contained in:
jenkins 2022-10-18 01:19:24 +02:00
commit 612bb9d486

View File

@ -438,7 +438,7 @@
"name": "maxCO", "name": "maxCO",
"displayName": "Maximum CO", "displayName": "Maximum CO",
"type": "double", "type": "double",
"defaultValue": 2000, "defaultValue": 255,
"unit": "PartsPerMillion" "unit": "PartsPerMillion"
}, },
{ {
@ -458,6 +458,8 @@
"displayName": "CO level", "displayName": "CO level",
"displayNameEvent": "CO level changed", "displayNameEvent": "CO level changed",
"type": "double", "type": "double",
"minValue": 0,
"maxValue": "255",
"unit": "PartsPerMillion", "unit": "PartsPerMillion",
"defaultValue": 0 "defaultValue": 0
}, },