diff --git a/config.go b/config.go index 83ae19d..f59d6c5 100644 --- a/config.go +++ b/config.go @@ -9,10 +9,10 @@ import ( // Config hue api config type Config struct { - Username string `yaml:name` - Password string `yaml:userpassword` - BridgeAddr string `yaml:bridgeAddress` - BridgeAddrScheme string `yaml:bridgeAddressScheme` + Username string `yaml:"name"` + Password string `yaml:"userpassword"` + BridgeAddr string `yaml:"bridgeAddress"` + BridgeAddrScheme string `yaml:"bridgeAddressScheme"` } // createNewUser will create a new user. This should be called only of there's none in the yaml config.