From: Seyed Amir Hossein Aqajari Date: Mon, 5 Aug 2019 22:15:07 +0000 (-0700) Subject: Update bright-when-dark-and-or-bright-after-sunset.groovy X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=f7cea8385bb0bf91c1f51013b67a583dd9fec7ba;p=smartapps.git Update bright-when-dark-and-or-bright-after-sunset.groovy --- diff --git a/official/bright-when-dark-and-or-bright-after-sunset.groovy b/official/bright-when-dark-and-or-bright-after-sunset.groovy index 79764a8..f105423 100755 --- a/official/bright-when-dark-and-or-bright-after-sunset.groovy +++ b/official/bright-when-dark-and-or-bright-after-sunset.groovy @@ -4,23 +4,22 @@ definition( author: "Arnaud", description: "Turn ON light(s) and/or dimmer(s) when there's movement and the room is dark with illuminance threshold and/or between sunset and sunrise. Then turn OFF after X minute(s) when the brightness of the room is above the illuminance threshold or turn OFF after X minute(s) when there is no movement.", category: "Convenience", - iconUrl: "http://neiloseman.com/wp-content/uploads/2013/08/stockvault-bulb128619.jpg", iconX2Url: "http://neiloseman.com/wp-content/uploads/2013/08/stockvault-bulb128619.jpg" ) preferences { - page(name: "configurations") - page(name: "options") - page(name: "timeIntervalInput", title: "Only during a certain time...") { section { input "starting", "time", title: "Starting", required: false input "ending", "time", title: "Ending", required: false - } } + } + + page(name: "configurations") + page(name: "options") } def configurations()