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