bosesoundtouchapi.models.info

@export
class Information:

SoundTouch device Information configuration object.

This class contains the attributes and sub-items that represent a Information configuration of the device.

Information(root: xml.etree.ElementTree.Element = None)

Initializes a new instance of the class.

Arguments:
  • root (Element): xmltree Element item to load arguments from.
    If specified, then other passed arguments are ignored.

List of Component objects containing various information about the device's components (e.g. SCM, LPM, BASS, etc).

CountryCode: str

Country code of the device as assigned by the manufacturer (e.g. 'US', etc).

DeviceId: str

Unique device identifier as assigned by the manufacturer (e.g. '9070658C9D4A', etc).

DeviceName: str

Friendly name assigned to the SoundTouch device (e.g. 'Home Theater SoundBar', etc).

DeviceType: str

Type of device as assigned by the manufacturer (e.g. 'SoundTouch 10', 'SoundTouch 300', etc).

MacAddress: str

MAC address (media access control address) assigned to the device.

ModuleType: str

Radio module type used in the device, as assigned by the manufacturer (e.g. 'SM2', etc).

List of SoundTouchNetworkConfig objects containing the current network configuration of the device.

RegionCode: str

Region code of the device as assigned by the manufacturer (e.g. 'US', etc).

StreamingAccountUUID: str

Bose Streaming account UUID, as assigned by the manufacturer (e.g. '6146078', etc).

StreamingUrl: str

Bose Streaming URL, as assigned by the manufacturer (e.g. 'https://streaming.bose.com', etc).

Variant: str

Variant value (e.g. 'ginger', etc).

VariantMode: str

Variant mode value (e.g. 'noap', etc).

def ToString(self, includeItems: bool = False) -> str:

Returns a displayable string representation of the class.

Arguments:
  • includeItems (bool): True to include all items in the list; otherwise False to only include the base list.