Update bright-when-dark-and-or-bright-after-sunset.groovy
authorSeyed Amir Hossein Aqajari <amiraj.95@uci.edu>
Mon, 5 Aug 2019 22:15:07 +0000 (15:15 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Mon, 5 Aug 2019 22:15:07 +0000 (15:15 -0700)
official/bright-when-dark-and-or-bright-after-sunset.groovy

index 79764a8..f105423 100755 (executable)
@@ -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()