bosesoundtouchapi.soundtouchdevicecomponent

class SoundTouchDeviceComponent:

A small wrapper class to store component related data.

SoundTouchDeviceComponent( category: str = None, softwareVersion: str = None, serialNumber: str = None)

Initiallizes a new instance of the class.

Arguments:
  • category (str): A simple string used to identify the component object.
  • softwareVersion (str): If present, this attribute contains the current version the software is running with.
  • serialNumber (str): This string contains a serial number, if present.
Category: str

A simple string used to identify the component object.

SerialNumber: str

If present, this attribute contains the current version the software is running with.

SoftwareVersion: str

This string contains a serial number, if present.

def ToString(self) -> str:

Returns a displayable string representation of the class.