code: def _send_script(self, device_info, control_info, script, progress_callback):
          
  
          for i in range(0, len(script), 20):
              chunk = script[i:i+20]
              self._send_rpc(device_info, control_info, 8, 0x2101, chunk, 0.001, 1.0)
              if progress_callback is not None:
                  progress_callback(i + len(chunk), len(script))
docs: Send a script by repeatedly sending it as a bunch of RPCs.
  
          This function doesn't do anything special, it just sends a bunch of RPCs
          with each chunk of the script until it's finished.