Update hvac-auto-off.smartapp.groovy
[smartapps.git] / third-party / hvac-auto-off.smartapp.groovy
index eecb6e8ab1b3d46911daa7a5ce952b27bd3079db..30280e9cc1b27899767b69ef56319f2fb38bf452 100755 (executable)
@@ -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) {