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