The type: custom:lovelace-track-history-card only shows the past 5 days. Can this be set to always or longer than 5 days ?
You may want to ask the author of the custom software. The location where you found the card or maybe within the card’s code should be the location of the author.