Update hue-mood-lighting.groovy
[smartapps.git] / official / hue-mood-lighting.groovy
index 3d72b09158dbadb942fad56d30f8fad6c1de84f4..abcdefa476c749837f20c723df4fe3690f8bda93 100755 (executable)
@@ -297,7 +297,7 @@ private dayString(Date date) {
 private oncePerDayOk(Long lastTime) {
        //def result = lastTime ? dayString(new Date()) != dayString(new Date(lastTime)) : true
        //log.trace "oncePerDayOk = $result - $lastTime"
-       result = true //No time implementation in our infrastructure!
+       def result = true //No time implementation in our infrastructure!
        result
 }