Update influxdb-logger.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Mon, 12 Aug 2019 20:39:57 +0000 (13:39 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Mon, 12 Aug 2019 20:39:57 +0000 (13:39 -0700)
third-party/influxdb-logger.groovy

index 576f21e4a8e4335312bdb6a1191455f47a68d9a7..2d6278d19199ac6ffbf53446e4003ddde9f9ff3e 100755 (executable)
@@ -744,7 +744,7 @@ private manageSubscriptions() {
     subscribe(thermostats, "thermostatFanMode", handleEvent)
     subscribe(thermostats, "thermostatOperatingState", handleEvent)
     subscribe(threeAxis, "threeAxis", handleEvent)
     subscribe(thermostats, "thermostatFanMode", handleEvent)
     subscribe(thermostats, "thermostatOperatingState", handleEvent)
     subscribe(threeAxis, "threeAxis", handleEvent)
-    subscribe(touchs, "touch", handleEvent)
+    subscribe(touchs, "touched", handleEvent)
     subscribe(uvs, "ultravioletIndex", handleEvent)
     subscribe(valves, "contact", handleEvent)
     subscribe(volts, "voltage", handleEvent)
     subscribe(uvs, "ultravioletIndex", handleEvent)
     subscribe(valves, "contact", handleEvent)
     subscribe(volts, "voltage", handleEvent)