diff options
author | Collin Guarino <Collinux@users.noreply.github.com> | 2017-03-17 20:38:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-17 20:38:51 -0400 |
commit | 4f55f62ea95532c37630cd160164b823c200fb8c (patch) | |
tree | 40b2c361058d013877d5b143892e572804f30056 | |
parent | 3e81062ffd8176266823483e111bd44bce449505 (diff) | |
parent | 21d7ece211db34c6890dffa1658037ee51709e33 (diff) |
Merge pull request #11 from EvanPurkhiser/fix-action-types
Correct some Action fields to be pointers
-rw-r--r-- | group.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,9 +20,9 @@ type Action struct { Colormode string `json:"colormode,omitempty"` Ct int `json:"ct,omitempty"` Effect string `json:"effect,omitempty"` - Hue int `json:"hue,omitempty"` - On bool `json:"on,omitempty"` - Sat int `json:"sat,omitempty"` + Hue *int `json:"hue,omitempty"` + On *bool `json:"on,omitempty"` + Sat *int `json:"sat,omitempty"` XY []float64 `json:"xy,omitempty"` Scene string `json:"scene,omitempty"` } |