Roborock repeat being ignored

I am using the following yaml in a script to clean a room with a repeat. The robot cleans, yet the repeat is not happening. I have a roborock revo vac.
Anyone else seeing repeats not working?

sequence:
  - data:
    command: app_segment_clean
    params:
      - segments:
          - 16
        repeat: 2
    target:
      entity_id: vacuum.upstairs_revo
alias: Vacuum CO
icon: mdi:robot-vacuum
description: ""