aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--group.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/group.go b/group.go
index c842a5a..f4ed687 100644
--- a/group.go
+++ b/group.go
@@ -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"`
}