[ST Edge] The order of displayed capabilities

Hi, @ygerlovin I wanted to share with you an update.

It seems that the device plugin is behaving according to the detailView model designed.

In summary, Switch has priority over the capability stack in a component being displayed at the top. Battery has the lowest priority being displayed at the bottom of the component and the remaining capabilities will be sorted according to the presentation.

With this in mind, your presentation is being displayed properly, i.e. Battery is moved to the bottom, Health Check and Refresh are not displayed, and the other capabilities follow the order of your profile.

Finally, a few notes: Health Check is not a requirement for Edge Devices, since you can now handle this state from the device instance itself ( e.g. device:online() / device:offline() ). And, just for reference, even if the Refresh capability supports a button display type at the detailView, it will be only displayed in case the mobile device doesn’t support swiping actions.

2 Likes