Xaomi vacumme - switch configuration

Platform: Docker
Version: 0.105.5

I am looking to configure a switch to turn on the vacuum cleaner (start cleaning) and the off state to return to dock.

This is my current configuration (where roboty is the name assigned to my vacuum):

switch:
  - platform: template
    switches:
      roboty:
        value_template: "off"
        turn_on:
          service: vacuum.start
          entity_id: vacuum.roboty
        turn_off:
          service: vacuum.return_to_base
          entity_id: vacuum.roboty

The switch appears & is able to start the clean, but immediately returns to the off state leaving no way to turn it off (and return the vacumme to base)

This is intended to allow my Amazon Echos to begin and stop cleaning via voice control

Managed to make some progress, updated this line:

        value_template: "off"

to:

        value_template: '{{ is_state("vacuum.roboty", "cleaning") }}'

Which results in the switch changing back to an on-state once cleaning begins. Is there a way to add multiple states?