hue

package
v0.0.0-...-2ba9d02 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Huer

type Huer struct {
	Rooms []*entities.Room
	// contains filtered or unexported fields
}

func NewHuer

func NewHuer(uri, newUsername string) (*Huer, error)

func NewHuerWithToken

func NewHuerWithToken(uri, userToken string) (*Huer, error)

func (*Huer) AddRoom

func (h *Huer) AddRoom(room *entities.Room)

func (*Huer) Bridge

func (h *Huer) Bridge() *huego.Bridge

func (*Huer) GetRoomsRaw

func (h *Huer) GetRoomsRaw() (grp []huego.Group, err error)

func (*Huer) LoadRooms

func (h *Huer) LoadRooms() ([]*entities.Room, error)

func (*Huer) ToggleRoom

func (h *Huer) ToggleRoom(args ...entities.BaseEntityOpt) error

func (Huer) Token

func (h Huer) Token() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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