Way to get water tank level sensor data into HomeKit?

I have a water tank sensor that I am able to read in home assistant. Would like to pull it into HomeKit. there is not a HomeKit water tank option so I was thinking call this a battery and or humidity sensor and then I could get the value over to home kit. the value from the sensor is just a % full. I used some ones code to get the water tank value into home assistant. Im not sure what I nit what I am doing by calling tis a battery device is on the right track. thoughts pointers?