Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CurrentAmbientLightLevel ¶
type CurrentAmbientLightLevel struct {
*characteristic.Float
}
CurrentAmbientLightLevel ...
type CustomLightSensor ¶
type CustomLightSensor struct { *service.Service CurrentAmbientLightLevel *CurrentAmbientLightLevel }
CustomLightSensor ...
type LightSensor ¶
type LightSensor struct { *accessory.Accessory *CustomLightSensor // contains filtered or unexported fields }
LightSensor stores the details of a device that is being bridged
func (*LightSensor) Acc ¶
func (l *LightSensor) Acc() *accessory.Accessory
Acc returns the accessory
func (*LightSensor) Service ¶
func (l *LightSensor) Service() *service.Service
Service returns the service
func (*LightSensor) Update ¶
func (l *LightSensor) Update(value []byte) error
Update a LightSensor device with a new received value.
Click to show internal directories.
Click to hide internal directories.