Home Assist saves the data of the devices for about 20 days. If you want to evaluate data, eg temperatures, over a longer period of time, the data must be stored in another database.
For this there is the InfluxDB, which can store very large amounts of data and quickly process it again for evaluations. Since each data record is saved with a time stamp, the InfluxDB is ideal for our requirements. More information about InfluxDB is available on the project’s homepage: https://www.influxdata.com/
I use Grafana to evaluate and display data. Grafana is not that easy to use, but it is THE evaluation and visualization engine. You can find more information about Grafana here: https://grafana.com/