X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=blobdiff_plain;f=eventSimulator%2FpresencePresencePresentEvent.groovy;h=0a139fc8fbb0a89ae503cbf8be8378975f11cc11;hp=96971958f09c62520f125301b6a98c6f0e6b82b2;hb=83071d3bcfc33f015ece13868342644498a9dda3;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0 diff --git a/eventSimulator/presencePresencePresentEvent.groovy b/eventSimulator/presencePresencePresentEvent.groovy index 9697195..0a139fc 100644 --- a/eventSimulator/presencePresencePresentEvent.groovy +++ b/eventSimulator/presencePresencePresentEvent.groovy @@ -1,2 +1,2 @@ - presenceSensorObject.setValue([name: "presence.present", value: "present", deviceId: "presenceSensorID0", descriptionText: "", + presenceSensorObject[0].setValue([name: "presence.present", value: "present", deviceId: "presenceSensorID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"presence":"1","dni":"mobile0"}'])