'Choose a different Pandora station and play it.'

def select_source(self, source):

    try:
        station_index = self._stations.index(source)
    except ValueError:
        _LOGGER.warning('Station    %s    is    not    in    list', source)
        return
    _LOGGER.debug('Setting    station    %s,    %d', source, station_index)
    self._send_station_list_command()
    self._pianobar.sendline('{}'.format(station_index))
    self._pianobar.expect('\r\n')
    self._player_state = STATE_PLAYING
