Roborock library for online and offline control of your vacuums.
Install this via pip (or your favourite package manager):
pip install python-roborock
You can see all of the commands supported here
You can find what devices are supported here. Please note this may not immediately contain the latest devices.
Thanks @rovo89 for https://gist.github.com/rovo89/dff47ed19fca0dfdda77503e66c2b7c7 And thanks @PiotrMachowski for https://github.com/PiotrMachowski/Home-Assistant-custom-components-Xiaomi-Cloud-Map-Extractor