I thought Xiaomi Miio configuration was moved to the GUI. Do you get a warning about this in logs when Home Assistant starts? Try removing the vacuum: section from your configuration.yaml and restarting Home Assistant.
See 2021.4 release notes.
I don’t recall seeing any guidance on this change.
I assume this means the token is no longer needed? I didn’t provide that in the integration config. Just my userid/password.
I have to say, as much fun as HA has been, it seems to be a constant issue of chasing problems. APIs that we depend on are changing all the time. For example, right now, my Nexia API is broken, so I have to fix that to get my thermostat back online. Alexa/captcha breaks on a biweekly basis, so I have to keep fixing that. Improvements like this to move configuration from one place to another crop up.
Since we are fundamentally dependent on APIs that don’t come with a service level agreement, I guess we are forever going to be chasing things…
You still need the token if you check the “Configure manually (not recommended)” checkbox without entering your username/password and click next. I guess the token extraction process just got built into Home Assistant.
I had no problems migrating my vacuum from yaml config. I just saw the warning in my logs, removed the vacuum from my configuration.yaml and everything kept working. I didn’t need to delete the integration and set it up again like you did.
I would also prefer all configuration to stay in configuration.yaml, but understand the reasons described here: The future of YAML - Home Assistant