Update auto-humidity-vent.groovy
[smartapps.git] / official / auto-humidity-vent.groovy
index a0d45441eb4361e9eed776133458dca291d67f1e..91e63853d8a591c9efaf7df7113caae3805ad7a4 100755 (executable)
@@ -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)