X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FrelaySwitchOnEvent.groovy;fp=eventSimulator%2FrelaySwitchOnEvent.groovy;h=5ee956c767f9f9cee9cc8d196fe327f5c75ea2b3;hb=83071d3bcfc33f015ece13868342644498a9dda3;hp=96a5bee82fc3aa05c0bbbead751eb5a7b7e1f60a;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0;p=smartthings-infrastructure.git diff --git a/eventSimulator/relaySwitchOnEvent.groovy b/eventSimulator/relaySwitchOnEvent.groovy index 96a5bee..5ee956c 100644 --- a/eventSimulator/relaySwitchOnEvent.groovy +++ b/eventSimulator/relaySwitchOnEvent.groovy @@ -1,2 +1,2 @@ - relaySwitchObject.setValue([name: "switch", value: "off", deviceId: "relaySwitchID0", descriptionText: "", + relaySwitchObject[0].setValue([name: "switch", value: "off", deviceId: "relaySwitchID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])