hassio

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SamsungRemoteKeys = map[string]string{
	"KEY_POWEROFF":      "Power off",
	"KEY_POWER":         "Power on/off",
	"KEY_UP":            "Up",
	"KEY_DOWN":          "Down",
	"KEY_LEFT":          "Left",
	"KEY_RIGHT":         "Right",
	"KEY_CHUP":          "P Up",
	"KEY_CHDOWN":        "P Down",
	"KEY_ENTER":         "Enter",
	"KEY_RETURN":        "Return",
	"KEY_CH_LIST":       "Channel List",
	"KEY_MENU":          "Menu",
	"KEY_SOURCE":        "Source",
	"KEY_GUIDE":         "Guide",
	"KEY_TOOLS":         "Tools",
	"KEY_INFO":          "Info",
	"KEY_RED":           "A / Red",
	"KEY_GREEN":         "B / Green",
	"KEY_YELLOW":        "C / Yellow",
	"KEY_BLUE":          "D / Blue",
	"KEY_PANNEL_CHDOWN": "3D",
	"KEY_VOLUP":         "Volume Up",
	"KEY_VOLDOWN":       "Volume Down",
	"KEY_MUTE":          "Mute",
	"KEY_0":             "0",
	"KEY_1":             "1",
	"KEY_2":             "2",
	"KEY_3":             "3",
	"KEY_4":             "4",
	"KEY_5":             "5",
	"KEY_6":             "6",
	"KEY_7":             "7",
	"KEY_8":             "8",
	"KEY_9":             "9",
	"KEY_DTV":           "TV Source",
	"KEY_HDMI":          "HDMI Source",
	"KEY_CONTENTS":      "SmartHub",
}

Functions

This section is empty.

Types

type AvailabilityConfig

type AvailabilityConfig struct {
	Topic               string
	AvailablePayload    string
	NotAvailablePayload string
}

type Client

type Client struct {
	DeviceInfo string
	RemoteName string

	HassioTopicPrefix string
	TopicPrefix       string
	MqttClient        MQTT.Client
	// contains filtered or unexported fields
}

func (*Client) PublishDiscoveryConfig

func (c *Client) PublishDiscoveryConfig()

Jump to

Keyboard shortcuts

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