In France, lots of people start having the new Linky smart electricity meter (that should replace all electricity meters in France). That meter reports use to ENEDIS, that allow you to create a user account to look at it and export it. That enables doing statistics and tracking that use.
So modules already exist to retrieve this, in order to use it in some apps, like jeedom: https://github.com/Asdepique777/jeedom_linky
I think that would be great to be able to make use of it in home assistant.
Thanks for your help doing this and voting for it!