textapp

package
v11.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package textapp demostrates an app that displays a text area in Home Assistant. Any text entered in the textarea will be shown as a notification on the device running the Go Hass Anything the notify-send command-line tool.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TextApp

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

func New

func New(_ context.Context) (*TextApp, error)

func (*TextApp) Configuration

func (a *TextApp) Configuration() []*mqttapi.Msg

func (*TextApp) Name

func (a *TextApp) Name() string

func (*TextApp) States

func (a *TextApp) States() []*mqttapi.Msg

func (*TextApp) Subscriptions

func (a *TextApp) Subscriptions() []*mqttapi.Subscription

func (*TextApp) Update

func (a *TextApp) Update(_ context.Context) error

Update is unused, there is no app data to update.

Jump to

Keyboard shortcuts

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