Hello, @nayelyz,
I have created a presentation VID, which includes a limit of the range for the capability voltageMeasurement, it creates the VID well, but it does not limit the range in automation conditions or in the color bar equivalent to the value in detailView.
I have used as values key: the Attribute “voltage” without “.value” as I used in others VID’s with “temperature.value” range, since if I add the values key I write “voltage.value” it gives error 500 when creating the VID
I have also seen that a new field has appeared in the presentation. Is it the one that the app uses to change the device icon?
"iconUrl": null,
{
"mnmn": "SmartThingsCommunity",
"vid": "8fa5c744-5d52-3b4a-925f-236a303cd3f8",
"version": "0.0.1",
"type": "profile",
"iconUrl": null,
"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": []
},
"presentationId": "8fa5c744-5d52-3b4a-925f-236a303cd3f8",
"manufacturerName": "SmartThingsCommunity"
}