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

index 2739895..c1fae7a 100755 (executable)
@@ -46,7 +46,6 @@ preferences {
        section("Log devices...") {
                input "temperatures", "capability.temperatureMeasurement", title: "Temperatures", required: false, multiple: true
                input "thermostats", "capability.thermostat", title: "Thermostats", required: false, multiple: true
-               //input "ecobees", "device.myEcobeeDevice", title: "Ecobees", required: false, multiple: true
                input "automatic", "capability.presenceSensor", title: "Automatic Connected Device(s)", required: false, multiple: true
                input "detectors", "capability.smokeDetector", title: "Smoke/CarbonMonoxide Detectors", required: false, multiple: true
                input "humidities", "capability.relativeHumidityMeasurement", title: "Humidity sensors", required: false, multiple: true
@@ -108,17 +107,7 @@ def initialize() {
        subscribe(thermostats, "fanMode", handleFanModeEvent)
        subscribe(thermostats, "thermostatOperatingState", handleThermostatOperatingStateEvent)
        subscribe(automatic, "presence",handleDailyStats)
-       //subscribe(automatic, "yesterdayTripsAvgDistanceM",handleDailyStats)
-       //subscribe(automatic, "yesterdayTripsAvgDurationS",handleDailyStats)
-       //subscribe(automatic, "yesterdayTotalDistanceM",handleDailyStats)
-       //subscribe(automatic, "yesterdayTripsAvgFuelVolumeL",handleDailyStats)
-       //subscribe(automatic, "yesterdayTotalFuelVolumeL",handleDailyStats)
-       //subscribe(automatic, "yesterdayTotalDurationS:",handleDailyStats)
-       //subscribe(automatic, "yesterdayTotalNbTrips",handleDailyStats)
-       //subscribe(automatic, "yesterdayTotalHardAccels",handleDailyStats)
-       //subscribe(automatic, "yesterdayTotalHardBrakes:",handleDailyStats)
-       //subscribe(automatic, "yesterdayTripsAvgScoreSpeeding",handleDailyStats)
-       //subscribe(automatic, "yesterdayTripsAvgScoreEvents",handleDailyStats)
+       
        def queue = []
        atomicState.queue=queue