DeviceProperties

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceProperties

type DeviceProperties struct {
	Send   func(action, body, targetTag string) (string, error)
	Source string
}

func New

func New(send func(action, body, targetTag string) (string, error)) DeviceProperties

func (*DeviceProperties) AddBondedZones

func (s *DeviceProperties) AddBondedZones(channelMapSet string) error

func (*DeviceProperties) AddHTSatellite

func (s *DeviceProperties) AddHTSatellite(hTSatChanMapSet string) error

func (*DeviceProperties) CreateStereoPair

func (s *DeviceProperties) CreateStereoPair(channelMapSet string) error

func (*DeviceProperties) EnterConfigMode

func (s *DeviceProperties) EnterConfigMode(mode string, options string) (State string, err error)

func (*DeviceProperties) ExitConfigMode

func (s *DeviceProperties) ExitConfigMode(options string) error

func (*DeviceProperties) GetAutoplayLinkedZones

func (s *DeviceProperties) GetAutoplayLinkedZones() (IncludeLinkedZones bool, err error)

func (*DeviceProperties) GetAutoplayRoomUUID

func (s *DeviceProperties) GetAutoplayRoomUUID() (RoomUUID string, err error)

func (*DeviceProperties) GetAutoplayVolume

func (s *DeviceProperties) GetAutoplayVolume() (CurrentVolume int, err error)

func (*DeviceProperties) GetButtonLockState

func (s *DeviceProperties) GetButtonLockState() (CurrentButtonLockState bool, err error)

func (*DeviceProperties) GetButtonState

func (s *DeviceProperties) GetButtonState() (State string, err error)

func (*DeviceProperties) GetHTForwardState

func (s *DeviceProperties) GetHTForwardState() (IsHTForwardEnabled bool, err error)

func (*DeviceProperties) GetHouseholdID

func (s *DeviceProperties) GetHouseholdID() (CurrentHouseholdID string, err error)

func (*DeviceProperties) GetLEDState

func (s *DeviceProperties) GetLEDState() (CurrentLEDState bool, err error)

Prefer method `zp.GetLEDState`.

func (*DeviceProperties) GetUseAutoplayVolume

func (s *DeviceProperties) GetUseAutoplayVolume() (UseVolume bool, err error)

func (*DeviceProperties) GetZoneAttributes

func (s *DeviceProperties) GetZoneAttributes() (getZoneAttributesResponse, error)

Prefer methods `zp.GetZoneName`, `zp.GetIcon`, `zp.GetConfiguration`, `zp.GetTargetRoomName`.

func (*DeviceProperties) GetZoneInfo

func (s *DeviceProperties) GetZoneInfo() (getZoneInfoResponse, error)

Prefer method `zp.GetZoneInfo`.

func (*DeviceProperties) RemoveBondedZones

func (s *DeviceProperties) RemoveBondedZones(channelMapSet string, keepGrouped bool) error

func (*DeviceProperties) RemoveHTSatellite

func (s *DeviceProperties) RemoveHTSatellite(satRoomUUID string) error

func (*DeviceProperties) RoomDetectionStartChirping

func (s *DeviceProperties) RoomDetectionStartChirping(channel int, milliseconds int, chirpIfPlayingSwappableAudio bool) (PlayId int, err error)

func (*DeviceProperties) RoomDetectionStopChirping

func (s *DeviceProperties) RoomDetectionStopChirping(playId int) error

func (*DeviceProperties) SeparateStereoPair

func (s *DeviceProperties) SeparateStereoPair(channelMapSet string) error

func (*DeviceProperties) SetAutoplayLinkedZones

func (s *DeviceProperties) SetAutoplayLinkedZones(includeLinkedZones bool) error

func (*DeviceProperties) SetAutoplayRoomUUID

func (s *DeviceProperties) SetAutoplayRoomUUID(roomUUID string) error

func (*DeviceProperties) SetAutoplayVolume

func (s *DeviceProperties) SetAutoplayVolume(volume int) error

func (*DeviceProperties) SetButtonLockState

func (s *DeviceProperties) SetButtonLockState(state bool) error

func (*DeviceProperties) SetLEDState

func (s *DeviceProperties) SetLEDState(state bool) error

Prefer method `zp.SetLEDState`.

func (*DeviceProperties) SetUseAutoplayVolume

func (s *DeviceProperties) SetUseAutoplayVolume(state bool) error

func (*DeviceProperties) SetZoneAttributes

func (s *DeviceProperties) SetZoneAttributes(zoneName string, icon string, configuration string, targetRoomName string) error

Prefer methods `zp.SetZoneName`, `zp.SetIcon`, `zp.SetConfiguration`, `zp.SetTargetRoomName`.

Jump to

Keyboard shortcuts

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