X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FswitchOnEvent.groovy;h=b9b778697be54359136679a3395fe63acbd1b0a0;hb=83071d3bcfc33f015ece13868342644498a9dda3;hp=fa1ef3a45575a970798cad0fa3f0cf77b95979e0;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0;p=smartthings-infrastructure.git diff --git a/eventSimulator/switchOnEvent.groovy b/eventSimulator/switchOnEvent.groovy index fa1ef3a..b9b7786 100644 --- a/eventSimulator/switchOnEvent.groovy +++ b/eventSimulator/switchOnEvent.groovy @@ -1,2 +1,2 @@ - switchObject.setValue([name: "switch", value: "on", deviceId: "switchID0", descriptionText: "", + switchObject[0].setValue([name: "switch", value: "on", deviceId: "switchID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])