State Class Total Increasing Zero Point

I am using a sensor with state class total_increasing to track my propane usage. I look at the number of gallons of empty capacity in my tank and use that as an indication of how much I have used. The problem I am running into is that the tank is never completely full or empty and the limits on both sides fluctuate.

The docs explain that the total_increasing class will always use zero as a “zero-point.” The result for my scenario is that when my tank was filled I see a big bump in usage (error) because it was not filled completely. They fill to 80-85% typically.

Any suggestions?

Do you actually need the state class for use in the energy dashboard?

If not and you just want to collect LTS use the state_class: measurement.

Hi, thanks for your reply. My main use is to create a derivative sensor to estimate daily and monthly propane usage. The total_increasing class would be perfect except for the zero point issue.