tuya

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Tuya

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

The Tuya type encapsulates the Tuya IoT Integration

func (*Tuya) LoadConfig

func (t *Tuya) LoadConfig(confdir string) error

LoadConfig loads and stores the configuration for this Integration

func (*Tuya) Start

func (t *Tuya) Start(mq *mqtt.MQTT)

Start launches the Integration, LoadConfig() should have been called beforehand.

func (*Tuya) Stop

func (t *Tuya) Stop()

Stop terminates the Integration and all Goroutines it contains

Jump to

Keyboard shortcuts

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