Update bright-when-dark-and-or-bright-after-sunset.groovy
[smartapps.git] / official / bright-when-dark-and-or-bright-after-sunset.groovy
index 79764a8b9d738cebc66f8a023cf808b028f9e85f..f105423921f388df00f0c39969d05825cb15ad95 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()