api

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	HA_STATE_PREFIX = "homeassistant.states"
)

Variables

This section is empty.

Functions

func Close

func Close()

func Listen

func Listen(parentLogger *slog.Logger, parentConfig *config.HatsConfig, readme []byte)

Types

type CreateScheduleData

type CreateScheduleData struct {
	Cron string `json:"cron"`
}

type StartTimerData

type StartTimerData struct {
	Duration string `json:"duration"`
	Force    bool   `json:"force"`
}

Jump to

Keyboard shortcuts

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