Also I would recommend to integate with influxdb, for persistence of historical data. Then put grafana on top of that and you can add your grafana graphs into home assistant with the external web page card.