Documentation
¶
Overview ¶
Package switchapp demonstrates an app that displays a switch in Home Assistant.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SwitchApp ¶
type SwitchApp struct {
// contains filtered or unexported fields
}
func (*SwitchApp) Configuration ¶
func (*SwitchApp) MsgCh ¶
MsgCh returns a channel through which we could pass any message to MQTT on any kind of custom event trigger or other non time-based polling.
func (*SwitchApp) Subscriptions ¶
func (a *SwitchApp) Subscriptions() []*mqttapi.Subscription
Click to show internal directories.
Click to hide internal directories.