Send Command app_segment_clean does not work (Roborock S7)

Hi together,

ich versuche nun schon einige Zeit ein Skript aufzusetzen das ich in weiteren Automationen eingebunden ist. Um nun das Skript zu testen führe ich es aus aber leider funktioniert es nicht.

alias: Clean - Room (16)
sequence:
  - action: vacuum.send_command
    metadata: {}
    data:
      command: app_segment_clean
      params:
        - segment:
            - 16
          repeat: 1
    target:
      entity_id: vacuum.s7_maxv
description: ""
icon: mdi:robot-vacuum

Nach dem klick auf Ausführen sehe ich in den logs nichts. Wenn ich jedoch auf Traces timeline gehe sehe ich das er im zweiten Schritt hängen bleibt.

  1. (script.saugen_esszimmer) turned on
  2. Vacuum: Send command to S7 MaxV (<-- Blue dot here)
  3. (script.saugen_esszimmer) turned off
  4. Finished at 22.12.2024, 22:28:18 (Runtime: 0.12 Sec)

Wenn ich einen anderen command teste wie zum Beispiel “Start clean” dann geht das ohne Probleme.

Cheers
Harryd

Hi,

according to the integration documentation its

  • segments
    not
  • segment

I have experienced that the service call often times will go through fine but result in no return value or error if the format is slightly incorrect.
Hopefully this will fix it.
Otherwise the room_id might be off?

Pwe

Thanks a lot. That’s it.