docs: async def toggle(self):
          """Toggles between pause and resume command"""
  
          self.logger.debug("toggle command")
  
          if not self.state == 'ready':
              return
  
          if self.streamer is None:
              return
  
          try:
              if self.streamer.is_playing():
                  await self.pause()
              else:
                  await self.resume()
          except Exception as e:
              logger.error(e)
              pass