'Create Soundtouch Entity.'

def __init__(self, name, config):

    from libsoundtouch import soundtouch_device
    self._device = soundtouch_device(config['host'], config['port'])
    if (name is None):
        self._name = self._device.config.name
    else:
        self._name = name
    self._status = self._device.status()
    self._volume = self._device.volume()
    self._config = config
