Minor bug in events for button device
[smartthings-infrastructure.git] / appTouch / Touched.groovy
index 530d64b2e906ff1e1ea81184ff1aaf615b7daa81..89d575e670ad99eb5125de3f85a66c24eb77bfc7 100644 (file)
@@ -3,11 +3,18 @@ package appTouch
 
 public class Touched{
        def sendEvent
+       private String id
        private int isTouched
+       private String label
+       private String name
+
 
        Touched(Closure sendEvent, int isTouched) {
                this.sendEvent = sendEvent
                this.isTouched = isTouched
+               this.label = "app0"
+               this.id = "appID0"
+               this.name = "app0"
        }
 
        //By Model Checker