Mopeka Pro Universal inches to percent for custom tank size

I asked this question in the feature request thread for Mopeka already, but I’m trying to get one of my mopeka universal sensors to read in percentages instead of inches that I have attached to my external diesel heater tank. I’ve already measured what the height of the fuel is when the container is full ( 6.75in from the bottom of the tank), but I’m not sure how to format this in HA to read in percent.

In the Mopeka app I have the tank size set to arbitrary horizontal with a height of 7in ( the app only accepts whole numbers).

Bumping this to see if anyone has any thoughts on this.

Bumping for some visibility on this.

I think you should solve your problem with a template sensor.