home

package
v0.0.0-...-aa1a986 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Feature

type Feature struct {
	Type int
	Name string
}

func (Feature) String

func (f Feature) String() string

type Home

type Home struct {
	ModelNumber int
	ModelName   string
	Version     string
	PhoneNumber string
	// contains filtered or unexported fields
}

func New

func New(logger *log.Logger, endpoint, key string) (*Home, error)

func (*Home) Features

func (h *Home) Features() []Feature

func (*Home) String

func (h *Home) String() string

func (*Home) Thermostats

func (h *Home) Thermostats() ([]Thermostat, error)

type Status

type Status struct {
	DateSet bool
	Date    time.Time
	Sunrise time.Time
	Sunset  time.Time
	Battery uint8
}

func (Status) String

func (s Status) String() string

type Thermostat

type Thermostat struct {
}

Jump to

Keyboard shortcuts

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