Thinking Cleaner Vacuum Component

Thinking Cleaner is an addon for older Roombas to enable WiFi support.

There is presently a Thinking Cleaner component however it is setup as a sensor and a switch, rather than as a vacuum as that functionality did not exist when this component was released.

I did try setting it up using the Vacuum template however the status does not output in the expected format so that does not work properly.

I’d love to see this component rewritten as a proper vacuum type.

If you use the vacuum template (https://www.home-assistant.io/integrations/vacuum.template/) together with the Vacuum card (https://github.com/denysdovhan/vacuum-card) it works like a charm.
However: modify the state names of the thinking cleaner to match with the states HA expects:

vacuum:
  - platform: template
    vacuums:
      snuffel:
        value_template: >-
          {% if states('sensor.snuffel_state')[:11] == "On homebase" %}
          docked
          {% else %}
          {% if is_state('sensor.snuffel_state', 'Cleaning') %}
          cleaning
          {% else %}
          {% if is_state('sensor.snuffel_state', 'Waiting for command') %}
          paused
          {% else %}
          {% if is_state('sensor.snuffel_state', 'Searching Homebase') %} 
          returning
          {% else %}
          {% if states('sensor.snuffel_state')[:7] == 'Stopped' %}
          idle
          {% else %}
          error
          {% endif %}
          {% endif %}
          {% endif %}
          {% endif %}
          {% endif %}

Add

type: 'custom:vacuum-card'
entity: vacuum.<CLEANERNAME>
stats:
  default:
    - entity_id: sensor.<CLEANERNAME>_state

To the card to get:
Naamloos