mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-30 06:13:05 +01:00
DVCSMP-2211 - Update Button Number and Holdable capability (#1458)
This commit is contained in:
@@ -15,6 +15,7 @@ metadata {
|
||||
definition (name: "Aeon Key Fob", namespace: "smartthings", author: "SmartThings") {
|
||||
capability "Actuator"
|
||||
capability "Button"
|
||||
capability "Holdable Button"
|
||||
capability "Configuration"
|
||||
capability "Sensor"
|
||||
capability "Battery"
|
||||
@@ -118,3 +119,7 @@ def configure() {
|
||||
log.debug("Sending configuration: $cmd")
|
||||
return cmd
|
||||
}
|
||||
|
||||
def updated() {
|
||||
sendEvent(name: "numberOfButtons", value: 4)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user