'Get the latest date and update device state.'

def update(self):

    fs_device = self.fs_device
    if (not self._name):
        self._name = fs_device.friendly_name
    if (not self._source_list):
        self._source_list = fs_device.mode_list
    status = fs_device.play_status
    self._state = {'playing': STATE_PLAYING, 'paused': STATE_PAUSED, 'stopped': STATE_OFF, 'unknown': STATE_UNKNOWN, None: STATE_OFF}.get(status, STATE_UNKNOWN)
    info_name = fs_device.play_info_name
    info_text = fs_device.play_info_text
    self._title = '    -    '.join(filter(None, [info_name, info_text]))
    self._artist = fs_device.play_info_artist
    self._album_name = fs_device.play_info_album
    self._source = fs_device.mode
    self._mute = fs_device.mute
    self._media_image_url = fs_device.play_info_graphics
