Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Light ¶
type Lights ¶
func (*Lights) GetAllLights ¶
func (*Lights) RenameLight ¶
func (*Lights) SetLightState ¶
type State ¶
type State struct { On bool `json:"on"` Hue uint16 `json:"hue,omitempty"` Effect string `json:"effect,omitempty"` Bri uint8 `json:"bri,omitempty"` Sat uint8 `json:"sat,omitempty"` CT uint16 `json:"ct,omitempty"` XY []float32 `json:"xy,omitempty"` Alert string `json:"alert,omitempty"` TransitionTime uint16 `json:"transitiontime,omitempty"` Reachable bool `json:"reachable,omitempty"` ColorMode string `json:"colormode,omitempty"` }
Click to show internal directories.
Click to hide internal directories.