homeassistant

package
v0.0.11 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Connector

type Connector struct {
	// contains filtered or unexported fields
}

func NewConnector

func NewConnector(configuration config.HomeAssistantConfig) (*Connector, error)

func (*Connector) ActivateDevice

func (c *Connector) ActivateDevice(id device.Id) error

func (*Connector) ControlActor

func (c *Connector) ControlActor(id device.Id, actor device.Actor, value any) bool

func (*Connector) DeactivateDevice

func (c *Connector) DeactivateDevice(id device.Id) error

func (*Connector) DisplayName

func (c *Connector) DisplayName() string

func (*Connector) EnumerateDevices

func (c *Connector) EnumerateDevices() []device.Spec

func (*Connector) Id

func (c *Connector) Id() string

func (*Connector) Operational

func (c *Connector) Operational() bool

func (*Connector) Setup

func (c *Connector) Setup(controller system.Controller)

func (*Connector) Teardown

func (c *Connector) Teardown()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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