Vacuum.send_command - Empty Dust Bin - How to find the list of Commands

While back I had a script I copied from somewhere that I could trigger the vacuum to empty its dust bin. I deleted my robot and readded it and the script has now gone, see image of my button setup below.

Anyway it used something like the below, but thats not working? How do you find these commands?

alias: Empty Vacuum Dust Bin
sequence:
  - service: vacuum.send_command
    metadata: {}
    data:
      command: empty_dust_bin
1 Like

Did you ever find an answer on this?

nah im pretty sure i need to learn how to use event listening

This worked for me:

      action: call-service
      service: vacuum.send_command
      data:
        command: setAutoEmpty
        params:
          act: start
      target:
        entity_id: vacuum.[yourvacname]
1 Like