aboutsummaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'config.go')
-rw-r--r--config.go9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.go b/config.go
index 3fae3ba..ae194ff 100644
--- a/config.go
+++ b/config.go
@@ -18,10 +18,11 @@ type BridgeConfig struct {
}
type PhluxConfig struct {
- Latitude float64 `yaml:"latitude"`
- Longitude float64 `yaml:"longitude"`
- Interval int64 `yaml:"interval"`
- Bridges []BridgeConfig `yaml:"bridges"`
+ Latitude float64 `yaml:"latitude"`
+ Longitude float64 `yaml:"longitude"`
+ Interval int64 `yaml:"interval"`
+ TransitionTime string `yaml:"transitionTime"`
+ Bridges []BridgeConfig `yaml:"bridges"`
}
func (c *PhluxConfig) Read() {