From: Rahmadi Trimananda Date: Tue, 6 Aug 2019 16:24:29 +0000 (-0700) Subject: Update hvac-auto-off.smartapp.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=92057b0a69fa18aeedc6c7ff6380e68f9e44860a;p=smartapps.git Update hvac-auto-off.smartapp.groovy --- diff --git a/third-party/hvac-auto-off.smartapp.groovy b/third-party/hvac-auto-off.smartapp.groovy index eecb6e8..30280e9 100755 --- a/third-party/hvac-auto-off.smartapp.groovy +++ b/third-party/hvac-auto-off.smartapp.groovy @@ -44,7 +44,8 @@ def updated() { def initialize() { state.changed = false - subscribe(sensors, 'contact', "sensorChange") + //subscribe(sensors, 'contact', "sensorChange") + subscribe(sensors, "contact", sensorChange) } def sensorChange(evt) {