How to create a script or action to clean specific room ECOVACS X2

Hello
can anyone help me creating some script to clean specific room with my X2 deebot of ECOVACS?
in the past I used a script like this:

alias: pulisci_bagno_matrimoniale
sequence:

  • target:
    entity_id: vacuum.ambrogio
    data:
    command: spot_area
    params:
    rooms: 0
    cleanings: 1
    action: vacuum.send_command
    mode: single
    icon: mdi:toilet

but now with the new ECOVACS command it doesn’t work anymore. I can’t find anything about docs, which are the new command, syntax, etc.

Could someone help me?

I found something and tried this on action:

action: vacuum.send_command
target:
entity_id: vacuum.ambrogio
data:
command: clean_V2
params:
act: start
content:
type: freeClean
value: 1,0

It seems to work, is it correct?
anyone knows some other command?
the value i think that 1 is number of cleanings and 0 the room

something to set the vacuum fan, water level befor cleaning?

Thank you very much

Does anybody have any update here?
I have the T30S Pro. I can do a normal clean through HA (all rooms, one set water setting, one pre-defined vacuume setting, …) but I cannot select what room to clean.

The rooms that I set up in the Ecovacs app are appearing under attributes.

There is a instructions in german:

It works in my homeassistant

1 Like

Thank you. I’ll try it