From: Seyed Amir Hossein Aqajari Date: Tue, 6 Aug 2019 23:56:55 +0000 (-0700) Subject: Update auto-humidity-vent.groovy X-Git-Url: http://plrg.eecs.uci.edu/git/?p=smartapps.git;a=commitdiff_plain;h=db2ee0f1f8206cde6d824ce7bc182adaa6664056 Update auto-humidity-vent.groovy --- diff --git a/official/auto-humidity-vent.groovy b/official/auto-humidity-vent.groovy index a0d4544..91e6385 100755 --- a/official/auto-humidity-vent.groovy +++ b/official/auto-humidity-vent.groovy @@ -243,7 +243,7 @@ def set_fans(fan_state) { if (emeters) { log.debug emeters.currentValue('energy') //TODO: How to ensure latest (most accurate) energy reading? - emeters.poll() //[configure, refresh, on, off, poll, reset] + //emeters.poll() //[configure, refresh, on, off, poll, reset] // emeters.refresh() //[configure, refresh, on, off, poll, reset] state.fansLastRunEnergy = emeters.currentValue('energy').sum() state.fansLastRunCost = ((state.fansLastRunEnergy * price_kwh) / 100.0)