Roborock S5 Max, using both with HA and the Roborock App?

You can get tokens from the roborock app, but there are lots of reports that the token often changes with that app, sometimes even at a 24 hr interval. So not really usable at all for the moment.

Mi home app only change token when you reset the wifi settings and sometimes with a firmware update.

More information in this topic: New Roborock S5 Max Vacuum Cleaner