aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Burwell <ben@benburwell.com>2018-05-25 00:08:05 -0400
committerBen Burwell <ben@benburwell.com>2018-05-25 00:08:05 -0400
commit23114b25bf60ff9cf135fe794235c0cf1f7c6b18 (patch)
tree5340c0ade7aaeaa4a9252494c0cc5298338963fc
parent483b758f27e212c0684cdb6ca065c56765818e26 (diff)
Vendor patched version of gohue
-rw-r--r--Gopkg.lock2
-rw-r--r--vendor/github.com/benburwell/gohue/light.go17
2 files changed, 18 insertions, 1 deletions
diff --git a/Gopkg.lock b/Gopkg.lock
index 6868f5c..36d58a0 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -11,7 +11,7 @@
branch = "master"
name = "github.com/benburwell/gohue"
packages = ["."]
- revision = "9baef1639cd3efb39b003b76d618a70757a414b4"
+ revision = "32d8e201749f37fda7607408ae3d89d58ebf685f"
[[projects]]
branch = "master"
diff --git a/vendor/github.com/benburwell/gohue/light.go b/vendor/github.com/benburwell/gohue/light.go
index aef5954..592283b 100644
--- a/vendor/github.com/benburwell/gohue/light.go
+++ b/vendor/github.com/benburwell/gohue/light.go
@@ -28,6 +28,23 @@ type Light struct {
ColorMode string `json:"colormode"` // HS or XY mode for choosing color
Reachable bool `json:"reachable"`
} `json:"state"`
+ Capabilities struct {
+ Certified bool `json:"certified,omitempty"`
+ Control struct {
+ MinDimLevel uint16 `json:"mindimlevel,omitempty"`
+ MaxLumen uint16 `json:"maxlumen,omitempty"`
+ ColorGamutType string `json:"colorgamuttype,omitempty"`
+ ColorGamut [][2]float32 `json:"colorgamut,omitempty"`
+ CT struct {
+ Min uint16 `json:"min,omitempty"`
+ Max uint16 `json:"max,omitempty"`
+ } `json:"ct,omitempty"`
+ } `json:"control,omitempty"`
+ Streaming struct {
+ Renderer bool `json:"renderer,omitempty"`
+ Proxy bool `json:"proxy,omitempty"`
+ } `json:"streaming,omitempty"`
+ } `json:"capabilities,omitempty"`
Type string `json:"type"`
Name string `json:"name"`
ModelID string `json:"modelid"`