Xiaomi Roborock Integration with Alexa

Hey everyone, I’m trying to connect my Xiaomi Roborock vacuum cleaner to Alexa using Home Assistant. I’ve set up the configuration in my configuration.yaml file, and it seems to be working fine. I followed a guide that helped me get started, but I’m running into a few issues.

First, I added this to my configuration:
yaml
vacuum:

  • platform: xiaomi_miio
    host: my_ip
    token: my_vacuum’s_token

This part works, and I can see the vacuum entity in Home Assistant. But when I try to add a template switch to control the vacuum, I get an error: Component error: find_vacuum - Integration 'find_vacuum' not found. I’m not sure what’s causing this.

Also, when I tell Alexa to search for new devices, it doesn’t find my vacuum. I’ve tried resetting the vacuum and checking the network settings, but nothing seems to work. Is there something I’m missing?

If anyone has successfully integrated their Xiaomi Roborock with Alexa, I’d love to hear your tips or any troubleshooting steps you took. Thanks in advance for your help!