numberapp

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 numberapp demonstrates an app that displays a number slider in Home Assistant.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NumberApp

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

func New

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

func (*NumberApp) Configuration

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

func (*NumberApp) Name

func (a *NumberApp) Name() string

func (*NumberApp) States

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

func (*NumberApp) Subscriptions

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

func (*NumberApp) Update

func (a *NumberApp) 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