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
  - service: vacuum.send_command
    metadata: {}
      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