X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FswitchOnDefaultEvent.groovy;h=d7700507ed26893520dda6d0544a099cebb457c8;hb=83071d3bcfc33f015ece13868342644498a9dda3;hp=a25c74fa7b6c2eba01c1f9e785c06adbe52a245f;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0;p=smartthings-infrastructure.git diff --git a/eventSimulator/switchOnDefaultEvent.groovy b/eventSimulator/switchOnDefaultEvent.groovy index a25c74f..d770050 100644 --- a/eventSimulator/switchOnDefaultEvent.groovy +++ b/eventSimulator/switchOnDefaultEvent.groovy @@ -1,2 +1,2 @@ - switchObject.setValue([name: "switch.on", value: "on", deviceId: "switchID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) \ No newline at end of file + switchObject[0].setValue([name: "switch.on", value: "on", deviceId: "switchID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])