Documentation
¶
Index ¶
- type Connector
- func (c *Connector) ActivateDevice(id device.Id) error
- func (c *Connector) ControlActor(id device.Id, actor device.Actor, value any) bool
- func (c *Connector) DeactivateDevice(id device.Id) error
- func (c *Connector) DisplayName() string
- func (c *Connector) EnumerateDevices() []device.Spec
- func (c *Connector) Id() string
- func (c *Connector) Operational() bool
- func (c *Connector) Setup(controller system.Controller)
- func (c *Connector) Teardown()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector struct {
// contains filtered or unexported fields
}
func NewConnector ¶
func NewConnector(configuration config.HomeAssistantConfig) (*Connector, error)
func (*Connector) ControlActor ¶
func (*Connector) DisplayName ¶
func (*Connector) EnumerateDevices ¶
func (*Connector) Operational ¶
func (*Connector) Setup ¶
func (c *Connector) Setup(controller system.Controller)
Click to show internal directories.
Click to hide internal directories.