An extensive Philips Hue client library for Go with an emphasis on simplicity
Bri
wouldn't affect the state of a light (#39)StoreSceneState
to StoreLightState
of Scene
struct (#43)ProductID
to ProductName
of Light
struct (#44)CreateUser
function to return ClientKey
(#27)gocyclo
import path (#28)1.11
and add >1.13
in Travis tests (#34)Huego version 1.1.0
Sensor
struct has a new field: UniqueID
(#10)GroupState
on Group
struct is now a pointer (#17)Scene
struct has two new fields: Type
and Group
(#22)huego
package instead of huego_test
(#21)httpmock
in testsgo.mod
for Go 1.11 module compatibilityExiting beta and entering stable
release
Much better error handling. Whenever the bridge API returns an error, huego
will return that to the user accordingly through an error
struct rather than just throwing a json.UnmarshalTypeError
.
Sensor.State
and Sensor.Config
is now interface{}
since these varry depending on the typeGitflow
is obsolete.SetState
receivers to Group
and Light
.SetLight
to SetLightState
for a more consistent naming convention.Capabilities
golint
, govet
and gofmt