Versions in this module Expand all Collapse all v10 v10.1.0 Jul 6, 2024 v10.0.0 Jun 25, 2024 Changes in this version + var ErrFetchLoadFailed = errors.New("could not get load averages") + var ErrFetchWeatherFailed = errors.New("could not get weather data") + var ErrUnknownRequest = errors.New("did not understand request") + type ExampleApp struct + func New(_ context.Context) (*ExampleApp, error) + func (a *ExampleApp) Configuration() []*mqttapi.Msg + func (a *ExampleApp) MsgCh() chan *mqttapi.Msg + func (a *ExampleApp) Name() string + func (a *ExampleApp) PollConfig() (interval, jitter time.Duration) + func (a *ExampleApp) Preferences() (preferences.AppPreferences, error) + func (a *ExampleApp) States() []*mqttapi.Msg + func (a *ExampleApp) Subscriptions() []*mqttapi.Subscription + func (a *ExampleApp) URL() string + func (a *ExampleApp) UnmarshalJSON(data []byte) error + func (a *ExampleApp) Update(ctx context.Context) error Other modules containing this package github.com/joshuar/go-hass-anything github.com/joshuar/go-hass-anything/v2 github.com/joshuar/go-hass-anything/v3 github.com/joshuar/go-hass-anything/v4 github.com/joshuar/go-hass-anything/v5 github.com/joshuar/go-hass-anything/v6 github.com/joshuar/go-hass-anything/v7 github.com/joshuar/go-hass-anything/v8 github.com/joshuar/go-hass-anything/v9