Temperature card with Multiple Min and Max periods

Trying to figure out a card to show min/max for day, week, month year on one card without a ton of config.yaml.

If i could figure out the template for one I could just change the sensor for anotheer card say inside and outside temp.

I cannot figure out how to have multiple entries on the statistics card. If I try to add diff periods it gives duplicate entries.

this is with config.yaml

image