From: Seyed Amir Hossein Aqajari Date: Tue, 6 Aug 2019 00:50:39 +0000 (-0700) Subject: Update sonos-remote-control.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=365a88ab78d93704abeaec9f929adc1ffc228fd6;p=smartapps.git Update sonos-remote-control.groovy --- diff --git a/official/sonos-remote-control.groovy b/official/sonos-remote-control.groovy index eed02d2..30bd547 100755 --- a/official/sonos-remote-control.groovy +++ b/official/sonos-remote-control.groovy @@ -71,6 +71,7 @@ def initialize() { subscribe(buttonDevice, "button", buttonEvent) } + def buttonEvent(evt){ def buttonNumber = evt.data def value = evt.value