code: def snapshot(self):
          
          self._snapshot = {
              'name': self.name,
              'volume': self.volume,
              'muted': self.muted,
              'latency': self.latency
          }
          _LOGGER.info('took snapshot of current state of %s', self.friendly_name)
docs: Snapshot current state.