Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEntities ¶
func SetupMQTT ¶
func SetupMQTT(onConn mqtt.OnConnectHandler) func()
func SetupScheduler ¶
Types ¶
type EntitiesConfig ¶
type EntitiesConfig struct {
Buttons []buttons.Config `yaml:"buttons"`
Sensors []sensors.Config `yaml:"sensors"`
BinarySensors []binary_sensors.Config `yaml:"binary_sensors"`
Switches []switches.Config `yaml:"switches"`
Updaters []updaters.Config `yaml:"updaters"`
Locks []locks.Config `yaml:"locks"`
Images []images.Config `yaml:"images"`
}
func (*EntitiesConfig) LoadEntities ¶
func (c *EntitiesConfig) LoadEntities() []*entity.Entity
type MQTTHelpers ¶
func (*MQTTHelpers) Connect ¶
func (c *MQTTHelpers) Connect()
func (*MQTTHelpers) Disconnect ¶
func (c *MQTTHelpers) Disconnect()
func (*MQTTHelpers) SendConnect ¶
func (c *MQTTHelpers) SendConnect()
func (*MQTTHelpers) SendDisconnect ¶
func (c *MQTTHelpers) SendDisconnect()
Click to show internal directories.
Click to hide internal directories.