code: def set_volume(self, volume):
          
          req_url = ENDPOINTS["setVolume"].format(self.ip_address, self.zone_id)
          params = {"volume": int(volume)}
          return request(req_url, params=params)
docs: Send Volume command.