I created an edge driver for Aqara dual channel switch.
The driver creates device with switch capability under the main component and additional 2 switch components.
However, device config did not help with the order of components in automation view.
Further, in automation view it is not possible to know to which component the switch capability is related.
Yes, the engineering team is already working on this issue, it’s not related to Edge drivers only, it affects all multi-component devices.
About how to identify the components, they follow the order you defined in the Automation View. Remember you can check your presentation as follows:
// Using the ST CLI command:
smartthings presentation vid -j
//Sending a REST query to:
https://api.smartthings.com/v1/presentation?presentationId=vid&manufacturerName=SmartThingsCommunity
Ok, it seems it affects those that use a number in the component name (eg. switch1, switch2). When I create a profile and presentation using names without numbers, the order is followed correctly.
I’ll create a report for the engineering team to look at it. Thank you for bringing this up!
Also, did you set manually the value of mnmn: yashik? When we create a device presentation, the default value for mnmn is SmartThingsCommunity.
I made some tests to check and there are no issues when we create the presentation and use it on a device. However, I asked the engineering team to know if there are any restrictions. I’ll let you know their feedback.
Hi, @ygerlovin. The ability to set a custom mnmn value is considered a bug (thank you for letting us know!).
The reason is that if this is possible, devs could enter some keywords that would cause a conflict, eg. “SmartThings”. The engineering team is working on this fix and later on, this field will be set automatically.
Please, consider this for the presentations you already created.
I’ll let you know when the fix is released.
yes, you can create a device-config without adding this field and it should assign “SmartThingsCommunity” automatically and you can use that presentation normally.