package
Version:
v0.1.3
Opens a new window with list of versions in this module.
Published: Apr 22, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Broker struct {
Host string `yaml:"host"`
Port int `yaml:"port"`
Username string `yaml:"username"`
Password string `yaml:"password"`
ClientID string `yaml:"client_id"`
}
type HomeAssistant struct {
Enabled bool `yaml:"enabled"`
DiscoveryBase string `yaml:"discovery_base"`
Interval time.Duration `yaml:"interval"`
}
type MQTT struct {
Enabled bool `yaml:"enabled"`
Broker *Broker `yaml:"broker"`
Topic Topic `yaml:"topic"`
Client *Client `yaml:"-"`
HomeAssistant HomeAssistant `yaml:"homeassistant"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.