'Initialize the Onkyo Receiver.'

def __init__(self, receiver, sources, name=None):

    self._receiver = receiver
    self._muted = False
    self._volume = 0
    self._pwstate = STATE_OFF
    self._name = (name or '{}_{}'.format(receiver.info['model_name'], receiver.info['identifier']))
    self._current_source = None
    self._source_list = list(sources.values())
    self._source_mapping = sources
    self._reverse_mapping = {value: key for (key, value) in sources.items()}
