Documentation
¶
Index ¶
Constants ¶
View Source
const ( HueKindLight = HueKind(0) HueKindGroup = HueKind(1) )
View Source
const ( StateOff = State(0) StateOn = State(1) )
View Source
const ( TypeHue = Type(0) TypeDefault = TypeHue )
Variables ¶
View Source
var ( AllHueKinds = HueKinds{ HueKindLight, HueKindGroup, } )
View Source
var ( AllStates = States{ StateOff, StateOn, } )
View Source
var ( AllTypes = Types{ TypeHue, } )
Functions ¶
This section is empty.
Types ¶
type Facade ¶
type Facade struct { Signal // contains filtered or unexported fields }
func (*Facade) Initialize ¶
func (*Facade) SetupConfiguration ¶
func (this *Facade) SetupConfiguration(using common.FlagHolder)
type Hue ¶
type Hue struct { Pair bool Bridge string User string Kinds HueKinds Name *regexp.Regexp Britness uint8 Hue uint16 Saturation uint8 // contains filtered or unexported fields }
func (*Hue) Initialize ¶
func (*Hue) SetupConfiguration ¶
func (this *Hue) SetupConfiguration(using common.FlagHolder)
type HueCredentials ¶
func (HueCredentials) Bridge ¶
func (this HueCredentials) Bridge() *huego.Bridge
func (HueCredentials) HasContent ¶
func (this HueCredentials) HasContent() bool
func (HueCredentials) IsZero ¶
func (this HueCredentials) IsZero() bool
func (HueCredentials) MarshalBinary ¶
func (this HueCredentials) MarshalBinary() (data []byte, err error)
func (*HueCredentials) UnmarshalBinary ¶
func (this *HueCredentials) UnmarshalBinary(data []byte) error
Click to show internal directories.
Click to hide internal directories.