Then, i try anything. Until now, i am just using the quick reload configuration.
Now, i try the complete restart and i get this log:
Entity sensor.edf_instantanee_reelle (<class ‘homeassistant.components.template.sensor.SensorTemplate’>) is using native unit of measurement ‘W’ which is not a valid unit for the device class (‘energy’) it is using; expected one of [‘GJ’, ‘MWh’, ‘kWh’, ‘Wh’, ‘MJ’]; Please update your configuration if your entity is manually configured, otherwise create a bug report at Issues · home-assistant/core · GitHub
A step further, your device is actually of the class “power”, not “energy”. May not ultimately matter for your use-case, but change the device class to power.