I am trying to write a Device Handler that is primarily meant for the SmartThigns (Samsung Connect) app.
I have noticed that having
capability "Button" adds a section that has ‘Pressed’, ‘Double pressed’, ‘Held’ options (see attached picture).
I have set the
sendEvent(name: "numberOfButtons", value: 4) attribute event but I want to know how to get the main app panel to show the Pressed/Double/Held options for each button to configure from there without having to go through Button Controller or ABC. I can’t seem to find anything about the new DH APIs anywhere and can’t find any more information about what I want to achieve. If anyone can point me in the right direction I’d be very grateful.