Adding new events.
[smartthings-infrastructure.git] / ColorTemperature / ColorTemperatures.groovy
index aea527995d14b286e5f23ca21ebca1574d0cab9b..77f01753b04f03a1f4c4892d1905ffbd82ea7e1e 100644 (file)
@@ -29,7 +29,7 @@ public class ColorTemperatures {
                this.level = initLevel 
                def initTemp = Verify.getIntFromList(10000, 15000)
                this.colorTemperature = initTemp 
-               def init = Verify.getBoolean
+               def init = Verify.getBoolean()
                if (init) {
                        this.currentSwitch = "off"
                } else {