Fixing a bug in the event presence.present: name has to be the same as value.
authorrtrimana <rtrimana@uci.edu>
Thu, 1 Aug 2019 16:40:29 +0000 (09:40 -0700)
committerrtrimana <rtrimana@uci.edu>
Thu, 1 Aug 2019 16:40:29 +0000 (09:40 -0700)
eventSimulator/presencePresencePresentEvent.groovy

index 8557f32..33b6892 100644 (file)
@@ -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"}'])