Commit #6
[smartthings-infrastructure.git] / Switch / Switches.groovy
index 65cac120517b7e4ac1b99ade9ac7df7029fb8eee..f5e59e524698c82e32f4e401ec5a22edd6dbeb26 100644 (file)
@@ -13,7 +13,7 @@ public class Switches {
        Switches(Closure sendEvent, int id, String displayName, String switchCurrentValue, String switchLatestValue) {
                this.sendEvent = sendEvent
                this.timers = new Timer()
-               timers.cancel() //Timer is ready to use
+
                this.id = id
                this.displayName = displayName
                this.switchCurrentValue = switchCurrentValue