WTH - History graph time units

How can we get the history graph to show a bar LINE graph when looking at time:


This specific entity is from the HACS SmartThinQ LGE Sensors integration.
Is this something that needs to get fixed in the integration? (Setting the entity to a datetime type?), or is this History functionality that needs to be able to understand times?

How would you display a countdown as a bar graph?

I’d imagine a graph with a Y axis from 0:00:00 to 1:45:00 (auto scaled to the entity. In the example above the initial time started at 89 minutes), and the line basically drawing a triangle (follow X axis before it starts, jumping up to 1:29:00 when it starts, and going down 1:00 every minute till it hits the X axis again when the entity reaches 0:00:00.
And I just realized I said bar graph instead of line… So … yeah.
LINE graph.

Okay with you now on the line graph.

I’m pretty sure the reason it doesn’t display exactly like that is because the state is a string. If it was an integer it would be like any other line graph already