Using Xiaomi Mi Vac Integration to get past error in vacuum?

The Mi Vac is great but one problem that occurs and has been noted on the Reddit and Xiaomi discussions is that the resistance in carpet causes it to thing the brush is stuck so it stops and tosses an error. There is nothing wrong and somebody mentioned using Miio in native python to get past it but I was hoping to create an automation. Any help would be great.

@hgelpke Did you ever figure this out? I am working on this as well.

Turns out there is a resume command in the miio api.