Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Automation ¶
type Automation struct {
// contains filtered or unexported fields
}
The Automation type encapsulates Automation
func (*Automation) LoadConfig ¶
func (a *Automation) LoadConfig(confDir string) error
LoadConfig loads and stores the configuration for this Integration. All Automations are loaded, whether they are enabled or not.
func (*Automation) Start ¶
func (a *Automation) Start(mq *mqtt.MQTT)
Start launches a Goroutine for each Automation, LoadConfig() should have been called beforehand.
func (*Automation) Stop ¶
func (a *Automation) Stop()
Stop terminates the Integration and all Goroutines it contains
Click to show internal directories.
Click to hide internal directories.