X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FsleepNotSleepingEvent.groovy;h=cb5c668b8fe66e8a75bcf263d230f165d40dd339;hb=83071d3bcfc33f015ece13868342644498a9dda3;hp=2abc19ab7b7c747ffebb85b6db5e04a57691e2b2;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0;p=smartthings-infrastructure.git diff --git a/eventSimulator/sleepNotSleepingEvent.groovy b/eventSimulator/sleepNotSleepingEvent.groovy index 2abc19a..cb5c668 100644 --- a/eventSimulator/sleepNotSleepingEvent.groovy +++ b/eventSimulator/sleepNotSleepingEvent.groovy @@ -1,2 +1,2 @@ - sleepSensorObject.setValue([name: "sleeping", value: "not sleeping", deviceId: "sleepSensorID0", descriptionText: "", + sleepSensorObject[0].setValue([name: "sleeping", value: "not sleeping", deviceId: "sleepSensorID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])