From: rtrimana Date: Thu, 1 Aug 2019 16:40:29 +0000 (-0700) Subject: Fixing a bug in the event presence.present: name has to be the same as value. X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartthings-infrastructure.git;a=commitdiff_plain;h=a02c9807815a35c0f57241ee6510a3d312499049;ds=sidebyside Fixing a bug in the event presence.present: name has to be the same as value. --- diff --git a/eventSimulator/presencePresencePresentEvent.groovy b/eventSimulator/presencePresencePresentEvent.groovy index 8557f32..33b6892 100644 --- a/eventSimulator/presencePresencePresentEvent.groovy +++ b/eventSimulator/presencePresencePresentEvent.groovy @@ -1,2 +1,2 @@ - presenceSensorObject.setValue([name: "presence", value: "presence.present", deviceId: "presenceSensorID0", descriptionText: "", + presenceSensorObject.setValue([name: "presence.present", value: "presence.present", deviceId: "presenceSensorID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"presence":"1","dni":"mobile0"}'])