From 23114b25bf60ff9cf135fe794235c0cf1f7c6b18 Mon Sep 17 00:00:00 2001 From: Ben Burwell Date: Fri, 25 May 2018 00:08:05 -0400 Subject: Vendor patched version of gohue --- vendor/github.com/benburwell/gohue/light.go | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'vendor') 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"` -- cgit v1.2.3