Hello Benjamin,
If it is for the presentation of the voltage capability, I managed to do VID with a range from 0v to 3.5v, but the range has no effect on automation conditions or on the color bar.
I commented it to @nayelyz
https://community.smartthings.com/t/smartthings-edge-developer-beta-known-issues-and-bug-tracking/230389/99?u=mariano_colmenarejo
This is the .json file that I used, it may be worth changing the waterSensor capability to Illuminance and removing Temperature
{
"dashboard": {
"states": [
{
"component": "main",
"capability": "waterSensor",
"version": 1,
"idx": 0,
"group": "main",
"values": [],
"composite": false
}
],
"actions": []
},
"detailView": [
{
"component": "main",
"capability": "waterSensor",
"version": 1,
"values": [],
"patch": []
},
{
"component": "main",
"capability": "temperatureMeasurement",
"version": 1,
"values": [],
"patch": []
},
{
"component": "main",
"capability": "voltageMeasurement",
"version": 1,
"values": [
{
"key": "voltage",
"enabledValues": [],
"range": [
0,
3.5
]
}
],
"patch": []
},
{
"component": "main",
"capability": "battery",
"version": 1,
"values": [],
"patch": []
},
{
"component": "main",
"capability": "refresh",
"version": 1,
"values": [],
"patch": []
}
],
"automation": {
"conditions": [
{
"component": "main",
"capability": "waterSensor",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"component": "main",
"capability": "temperatureMeasurement",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
},
{
"component": "main",
"capability": "voltageMeasurement",
"version": 1,
"values": [
{
"key": "voltage",
"enabledValues": [],
"range": [
0,
3.5
]
}
],
"patch": [],
"exclusion": []
},
{
"component": "main",
"capability": "battery",
"version": 1,
"values": [],
"patch": [],
"exclusion": []
}
],
"actions": []
},
"type": "profile"
}