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 576f21e..2d6278d 100755 (executable)
@@ -744,7 +744,7 @@ private manageSubscriptions() {
     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)