DVCSMP-2211 - Update Button Number and Holdable capability (#1458)

This commit is contained in:
Juan Pablo Risso
2016-11-11 16:10:44 -05:00
committed by GitHub
parent 7978f45996
commit 1db5f75ec5
5 changed files with 43 additions and 24 deletions

View File

@@ -15,6 +15,7 @@ metadata {
definition (name: "Aeon Minimote", namespace: "smartthings", author: "SmartThings") {
capability "Actuator"
capability "Button"
capability "Holdable Button"
capability "Configuration"
capability "Sensor"
@@ -107,3 +108,7 @@ def configure() {
log.debug("Sending configuration: $cmds")
return cmds
}
def updated() {
sendEvent(name: "numberOfButtons", value: 4)
}