X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FcontactClosedEvent.groovy;h=ee6363ce112d9618e518690a6eedcb45c0ef9620;hb=83071d3bcfc33f015ece13868342644498a9dda3;hp=db186790378ed52723e9b76a113356d4ac120690;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0;p=smartthings-infrastructure.git diff --git a/eventSimulator/contactClosedEvent.groovy b/eventSimulator/contactClosedEvent.groovy index db18679..ee6363c 100644 --- a/eventSimulator/contactClosedEvent.groovy +++ b/eventSimulator/contactClosedEvent.groovy @@ -1,2 +1,2 @@ - contactObject.setValue([name: "contact.closed", value: "closed", deviceId: "contactSensorID0", descriptionText: "", + contactObject[0].setValue([name: "contact.closed", value: "closed", deviceId: "contactSensorID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])