homeassistant

package
v0.0.0-...-db8fc92 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HAItem

type HAItem struct {
	DevID       string     `json:"dev_id"`
	Gps         [2]float64 `json:"gps"`
	GpsAccuracy float64    `json:"gps_accuracy"`
	HostName    string     `json:"host_name"`
	Battery     float64    `json:"battery"`
}

type HASender

type HASender struct {
	// contains filtered or unexported fields
}

func InitHASender

func InitHASender(config *conf.Config) *HASender

func (*HASender) ProcessHomeassistant

func (hs *HASender) ProcessHomeassistant(haItem *HAItem) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL