From: Seyed Amir Hossein Aqajari Date: Fri, 9 Aug 2019 01:29:36 +0000 (-0700) Subject: Update make-it-so.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d8f5d1ba1d57580e71f1f855cab63c38ca6fa2a6;p=smartapps.git Update make-it-so.groovy --- diff --git a/official/make-it-so.groovy b/official/make-it-so.groovy index 718d69e..9641e22 100755 --- a/official/make-it-so.groovy +++ b/official/make-it-so.groovy @@ -72,10 +72,10 @@ private restoreState(mode) log.debug "setting $it.label level to $level" it.setLevel(level) } - else { + //else { We want the worst case!(No need for else) log.debug "turning $it.label on" it.on() - } + //} } else if (value?.switch == "off") { log.debug "turning $it.label off"