Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Platform ¶
type Platform struct {
Running bool
}
Platform is the handle to the OWM sensors
func (Platform) AddAccessory ¶
func (o Platform) AddAccessory(a *tfaccessory.TFAccessory)
AddAccessory adds an OWM location and registers it with HC
func (Platform) Background ¶
func (o Platform) Background()
Background starts up the go process to periodically update the sensors values
func (Platform) GetAccessory ¶
func (o Platform) GetAccessory(name string) (*tfaccessory.TFAccessory, bool)
GetAccessory looks up an OWM sensor
Click to show internal directories.
Click to hide internal directories.