domain

package
v0.0.0-...-34c5bf1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device interface {
	ID() string
	Copy() Device
}

func NewDeviceFromDeviceHeader

func NewDeviceFromDeviceHeader(header *deviceregistrydef.DeviceHeader) (Device, error)

type OnkyoHTR380

type OnkyoHTR380 struct {
	*deviceregistrydef.DeviceHeader
	// contains filtered or unexported fields
}

func (*OnkyoHTR380) Copy

func (d *OnkyoHTR380) Copy() Device

func (*OnkyoHTR380) ID

func (d *OnkyoHTR380) ID() string

func (*OnkyoHTR380) InstructionFromCommand

func (d *OnkyoHTR380) InstructionFromCommand(command string, args map[string]interface{}) ([]ir.Instruction, error)

func (*OnkyoHTR380) InstructionsFromState

func (d *OnkyoHTR380) InstructionsFromState(state map[string]interface{}) ([]ir.Instruction, error)

func (*OnkyoHTR380) LoadState

func (d *OnkyoHTR380) LoadState(ctx context.Context) error

func (*OnkyoHTR380) ToDef

func (d *OnkyoHTR380) ToDef() *devicedef.Device

Jump to

Keyboard shortcuts

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