device

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	LightBulb instance.LightBulb
	Info0     instance.Info
	// contains filtered or unexported fields
}

Device fake device

func NewDemo

func NewDemo(identity string) *Device

func (*Device) Close

func (d *Device) Close() error

func (*Device) GetChannel

func (d *Device) GetChannel() server.WatchChan

func (*Device) Identity

func (d *Device) Identity() string

func (Device) Info

func (d Device) Info() server.DeviceInfo

func (*Device) Online

func (d *Device) Online() bool

func (*Device) Setup

func (d *Device) Setup() error

func (*Device) Update

func (d *Device) Update() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL