'Get the latest details from the device.'

def update(self):

    self._play_status = self._receiver.play_status()
    if self._receiver.on:
        if (self._play_status is None):
            self._pwstate = STATE_ON
        elif self._play_status.playing:
            self._pwstate = STATE_PLAYING
        else:
            self._pwstate = STATE_IDLE
    else:
        self._pwstate = STATE_OFF
    self._muted = self._receiver.mute
    self._volume = ((self._receiver.volume / 100) + 1)
    if (self.source_list is None):
        self.build_source_list()
    current_source = self._receiver.input
    self._current_source = self._source_names.get(current_source, current_source)
    self._playback_support = self._receiver.get_playback_support()
    self._is_playback_supported = self._receiver.is_playback_supported(self._current_source)
