hue

package
v0.0.0-...-886da62 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup() string

Types

type Hue

type Hue struct {
	Key string
	URL string
	ID  string
}

func (Hue) Check

func (h Hue) Check() check

func (Hue) Config

func (h Hue) Config() config

func (Hue) Groups

func (h Hue) Groups() map[string]group

func (Hue) Lights

func (h Hue) Lights() lightResponseV2

func (Hue) Schedules

func (h Hue) Schedules() map[string]schedule

func (Hue) SetStatus

func (h Hue) SetStatus(id string, status string)

type ResourceIdentifier

type ResourceIdentifier struct {
	Rid   string `json:"rid,omitempty"`
	Rtype string `json:"rtype,omitempty"`
}

Jump to

Keyboard shortcuts

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