Update hue-mood-lighting.groovy
authorRahmadi Trimananda <rahmadi.trimananda@uci.edu>
Thu, 8 Aug 2019 23:52:37 +0000 (16:52 -0700)
committerGitHub Enterprise <noreply@github.uci.edu>
Thu, 8 Aug 2019 23:52:37 +0000 (16:52 -0700)
official/hue-mood-lighting.groovy

index 95c99d1..da18c72 100755 (executable)
@@ -137,6 +137,8 @@ private ifSet(Map options, String name, String capability) {
 def installed() {
        log.debug "Installed with settings: ${settings}"
        subscribeToEvents()
+       // Initialize input value
+       color = "Purple"
 }
 
 def updated() {