code: def _restore_coordinator(self):
          transport_info = self.device.get_current_transport_info()
          if transport_info is not None:
              if transport_info['current_transport_state'] == 'PLAYING':
                  self.device.pause()
          self._restore_queue()
          if self.is_playing_queue and self.playlist_position > 0:
              if self.playlist_position is not None:
                  self.playlist_position -= 1
                  self.device.play_from_queue(self.playlist_position, False)
              if self.track_position is not None:
                  if self.track_position != "":
                      self.device.seek(self.track_position)
              self.device.play_mode = self.play_mode
              self.device.cross_fade = self.cross_fade
          elif self.is_playing_cloud_queue:
              pass
          else:
              if self.media_uri != "":
                  self.device.play_uri(
                      self.media_uri, self.media_metadata, start=False)