You can integrate it natively if you have a raspberry pi or a server in the middle. Check out Mi Connector. The author hasn’t yet included the Roborock S5 Max but I was able to edit the docker container and add it. Essentially, just grep for all roborock s5 and change them to roborock s5e. You’d also need to make the same change to the SmartApp. I can direct you on how to do all this after you get Mi Connector set up.