This is really nice to use and the vacuum works as expected.
However, sometimes my vacuum changes its IP address and I need to reconfigure the integration. Sadly I can’t configure a static IP for the vacuum. The only way to reconfigure the integration I found to do it is to:
remove the integration
restart HA
add the integration again with new IP but same token
Expectation from xiaomi integration: it ask login and password for MiHome, take a list of all devices from servers like Xiaomi-cloud-tokens-extractor utility, ping all known devices, add them to HA if they are available in this network, make a beautiful card for lovelace for every device.
Reality: it “discover” devices from configuration.yaml, asks ip and token (which are already written in config file), and you need to rename all items in your card’s config.
I also need a way to easily change ip for devices in miio_integration. I have provider’s router which internal dchp server saves maximum 5 static IP addresses.