mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-23 05:10:50 +00:00
DVCSMP-2211 - Update Button Number and Holdable capability (#1458)
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user