From: Seyed Amir Hossein Aqajari Date: Thu, 8 Aug 2019 18:02:31 +0000 (-0700) Subject: Update smart-turn-it-on.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf15d636e39e1b01155107fe5e56ca17db31026f;p=smartapps.git Update smart-turn-it-on.groovy --- diff --git a/official/smart-turn-it-on.groovy b/official/smart-turn-it-on.groovy index 8e31d2a..6ade62a 100755 --- a/official/smart-turn-it-on.groovy +++ b/official/smart-turn-it-on.groovy @@ -56,7 +56,7 @@ def turnOn(){ log.debug "Start" def dayCheck = dayOne.contains(new Date().format("EEE")) def dayTwo = new Date().format("EEE"); - if(dayCheck){ + if(/*dayCheck*/true){ def presenceTwo = presenceOne.latestValue("presence").contains("present") if (presenceTwo) { switchOne.on() @@ -70,4 +70,4 @@ log.debug "Start" def turnOff() { switchOne.off() -} \ No newline at end of file +}