Getting Xiaomi Mi Flora plant sensors working on HASSio

Xiaomi has a great line of pretty high quality but very inexpensive hardware that you can use in your smart home. Right now I’m using their plant, door, water, and temperature sensors, as well as their curtain motors. These plant sensors seem to be the only Xiaomi sensor that I have that is not ZigBee. So recently, I got another Raspberry Pi (3B+) to be able to pull in my Mi Flora plant sensors from my living room. There are a ton of tutorials on how to get HASSio loaded on an SD card, so I’ll assume you have Home Assistant up and running.

Here are the steps I used to get my sensors displaying in Home Assistant via the MiFlora component.