@pierre-gilles Superbe integration ! Malheureusement je n’ai pas d’historique antérieur à 3 mois (j’avais sélectionné cette option pour ne pas poluer de trop le serveur)
Après cette amère constatation, j’ai reconstitué un historique à partir du site d’Enedis dans un csv de plus de 45000 lignes (energie consommée toutes les 30 mn puis toutes les 15 mn depuis fevrier 2024)
Ma question est la suivante : est-il possible de réintégrer ces données dans ma bdd sachant que j’ai 3 champs : jjmmaaaahhmmss_debut, jjmmaaaahhmmss_fin, energie_kWh
If you have all the data on Enedis, why not use the Enedis integration in Gladys? 
Otherwise, yes it is entirely possible to insert these data into the database via MQTT!
If you create a virtual device in the MQTT integration, and you publish to:
gladys/master/device/:device_external_id/feature/:device_feature_external_id/historical
With the body:
{
"state": 100,
"created_at": "2023-10-15T10:30:00.000Z"
}
This will create a historical value at that date 
Normally if you disconnect and then reconnect to Enedis you’ll have your data from the start 