Hass.io Xiaomi Vacuum Help

Hello,

I’m very new at this and dont understand how to create a tile for my vacuum to turn it on and also show status of various parts of the vacuum. I have a rooted android phone with debugging enabled so retrieving the token was quite easy.
I have added the vacuum xiaomi miio, host, and token info to my configuration.yaml

Now i show the vacuum discovered by HA under services, and such. But i dont know how to create a tile to activate it and another tile to show the sensors status such as battery level, main_brush_left, total_cleaned_area. If someone could help me out by showing me a sample script or how i would go by getting tiles up with that information showing. Thank you very much fellas.

If by tiles you mean cards, then you may want to look here…