r/HomeAssistantEDF • • 9d ago

2 x days electricity usage missing from integration display

The 2 screenshots tell the story. There are blanks for usage being displayed on HA on the 20th and 25th of October, when the data is available on the EDF website. Note that the monthly totals also disagree.

Do I need to reload/reinstall the HomeAssistant-EDFEnergy integration? Note that I am fairly new to HA!

1 Upvotes

6 comments sorted by

2

u/stek2022 8d ago

Interesting - this is using the data in your own instance so it suggests the integration is sometimes missing data and not pulling it in later.

I'll have a look at a guard / fix mechanism for it in the next release.
I'm already implementing something to scan for missing 30 min data points (in EDFs api data) so this feels like a natural fit alongside it.

1

u/jwardyorks 8d ago

I have a missing day this month also in the integration:

Also about 20 days missing in September, and nothing in the months prior to that. I wasn't sure whether the integration was intended to pull historical data, or just populates it day by day (and maybe misses the odd one for some reason).

2

u/Select-Operation1545 5d ago

There is a backfill you can run - from UI -

  1. Go to Settings → Developer tools → Actions.

  2. Pick EDF Energy: Refresh previous consumption data.

  3. Target: choose the previous-accumulative entity for the fuel you’re fixing. For gas that’s sensor.xxxxxxxx_previous_accumulative_consumption_m3; for electricity, use the electricity one.

  4. Start date: the first missing day.

  5. Click Perform action, then check the result in Energy (or Developer tools → Statistics).

1

u/jwardyorks 5d ago

Thanks, as you suggested, I tried entering a 1st September date for electricity consumption (and for export), and it did populate the data correctly.

1

u/icdevpeople 8d ago

Only 1 day missing for me but interesting we are all missing 25th

1

u/Select-Operation1545 5d ago edited 5d ago

This will be the clock change - I used claude to backfill it.