I solved my problem.
I’m using a Custom Component Miio2 for the Viomi Robot vacuum cleaner.
All I did was disable the custom component, reboot to let the migration of the xiami gateway to take place, then clean the configuration file of the manual integration, and reactivate the custom component.
It worked for me.