How to script Roborock (xiaomi) to vacuum only (no mop)

We’ve had a Roborock for years integrated with the Xiomi Miio in HomeAssistant, but I only recently discovered how to set it up so you can select per room cleaning.

Integration per room cleaning: Xiaomi Miio - Home Assistant

I put the commands in as scripts to call from multiple dashboards and some automations, but one thing I couldn’t figure out was how to set it to clean with vacuum only, no mop.

We use the vacuum pretty much daily, but only use the mop feature weekly as we’ll do a couple of mop swaps between hardwood living areas and tiled kitchen/bathrooms.

Having it start from HA without mopping would make it perfect.

Below’s an example of how we’re calling it to clean a specific room.
Script:

alias: Roborock Start Clean Lounge
description: ""
sequence:
  - action: xiaomi_miio.vacuum_clean_segment
    metadata: {}
    data:
      segments:
        - 20
        - "492001043356"
        - 12
    target:
      entity_id: vacuum.roborock_s8

I have a sequance that select the mop mode off for select.roborock_s8_mop_intensity and then the start clean action

I’m not seeing that option on mine with the Xiaomi Miio integration.

Can you share a code example or a screenshot to make sure I’m looking at the right options?

I forgot i use the custom roborock intergration (GitHub - humbertogontijo/homeassistant-roborock: Roborock integration for Home Assistant. This integration uses your devices from the Roborock App)

If u want to use the default intergration u can use a custom command.

commands: Api commands — Python Roborock 0.1 documentation

and the automation

action: vacuum.send_command
target:
  entity_id: vacuum.qrevo_roborock
data:
  command: app_start_collect_dust