From 365a88ab78d93704abeaec9f929adc1ffc228fd6 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Mon, 5 Aug 2019 17:50:39 -0700 Subject: [PATCH] Update sonos-remote-control.groovy --- official/sonos-remote-control.groovy | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1