X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=eventSimulator%2FsmokeDefaultClearEvent.groovy;h=ed1c9c6f0ab30f37c871ded12581317afc8fb28f;hp=57083a8a0d36e480bda88a9b3c88bcc3a1fa3bfe;hb=83071d3bcfc33f015ece13868342644498a9dda3;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0 diff --git a/eventSimulator/smokeDefaultClearEvent.groovy b/eventSimulator/smokeDefaultClearEvent.groovy index 57083a8..ed1c9c6 100644 --- a/eventSimulator/smokeDefaultClearEvent.groovy +++ b/eventSimulator/smokeDefaultClearEvent.groovy @@ -1,2 +1,2 @@ - smokeDetectorObject.setValue([name: "smoke.clear", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) \ No newline at end of file + smokeDetectorObject[0].setValue([name: "smoke.clear", value: "clear", deviceId: "smokeDetectorID0", descriptionText: "", + displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])