I realize that this issue was already discussed and I hope the team is looking into it, but I would like at least to understand the logic of how the APP decides on the order of displayed capabilities.
I have a pretty simple profile
name: Contact sensor with battery voltage components: - id: main capabilities: - id: contactSensor version: 1 - id: battery version: 1 - id: healthCheck version: 1 - id: refresh version: 1 - id: voltageMeasurement version: 1 - id: signalStrength version: 1 categories: - name: ContactSensor metadata: ocfDeviceType: x.com.st.d.sensor.contact vid: ST_b8ff0205-6f70-4402-8583-52e6c2c68ce1 mnmn: "fdi0"
I created device config in developers workspace, that’s why you see “fdi0” in mnmn field.
I can validate the correct order in vid with the following command.
smartthingspresentation ST_b8ff0205-6f70-4402-8583-52e6c2c68ce1 fdi0 -y
However, the capabilities are displayed in different order.
I noticed that changing the position of capabilities that are not displayed at all, like refresh or healthCheck might impact the order of displayed capabilities, but I can’t figure out how exactly.
My question is what is the logic for displayed order? It is clearly not lexicographical.