code: def restore(self, fade=False):
          
  
          try:
              if self.is_coordinator:
                  self._restore_coordinator()
          finally:
              self._restore_volume(fade)
  
          # Now everything is set, see if we need to be playing, stopped
          # or paused ( only for coordinators)
          if self.is_coordinator:
              if self.transport_state == 'PLAYING':
                  self.device.play()
              elif self.transport_state == 'STOPPED':
                  self.device.stop()
docs: Restore the state of a device to that which was previously saved.
  
          For coordinator devices restore everything. For slave devices
          only restore volume etc., not transport info (transport info
          comes from the slave's coordinator).
  
          Args:
              fade (bool): Whether volume should be faded up on restore.