Use voice assistant to make deebot vacuum spot clean

I have created scripts in hassio that when ran will activate my deebot vacuum to clean just a specific room. These scripts are seen by alexa but when I say alex (name of the script) it says “ok, heres ecovacs deebot. Ok your deebot has stopped.” I have used a HACS integration to communicate with the deebot. Does anyone know why it starts and then stops. see below for the script.

data:
  command: spot_area
  params:
    cleanings: 1
    rooms: 0
entity_id: vacuum.alfred
service: vacuum.send_command