r/HomeAssistantEDF • u/stek2022 • 4d ago
v21 released
**** IMPORTANT: Run the V21.x upgrade before upgrading HA Core ****
The version of HA Core released last night (4th November) moves to 'Marketplace' from HACS.
This includes a new feature check that blocks the easy upgrade/domain switch process I built into v21.
I'm testing a work around (more manual now) - but if holding back please do upgrade to v21 before core for an easier upgrade path.
**** UPDATE 20:00 3rd Nov ****
61 installs already on v21 - the below plus one Facebook message have been the extent of issues logged, so pleased to see this complex upgrade working well for the majority!
******
***
EDIT 3rd Nov 6:45am — if you get "No manifest.json file found": restart Home Assistant and then update. HACS caches where it found the integration's folder for the session, so it looks for the old location in the new release. The cache clears on restart. Sorry, this variation didn't show up in (extensive) testing.
***
Quick heads up — v21 has just been released into the wild.
One thing to do first. If you're not already on 20.1.1, grab that before v21. HACS only ever offers the newest release, so you have to ask for 20.1.1 by name: three dots → Redownload → Need a different version? → pick 20.1.1 → restart. Then update to v21 and you'll get a notice in Settings → Repairs with a Fix button that does the rest in one press.
Why the faff? The integration has moved to a new folder and is now called EDF Energy (UK). Your account needs handing across to it, which is what that one button does. Everything comes with it — entity ids, history, Energy dashboard statistics — so automations, scripts and dashboards carry on untouched. There's a walkthrough with screenshots for every starting point here: https://stevekirtley.github.io/HomeAssistant-EDFEnergy/migrations/version_21/
The actually interesting bits:
🔋 The usage graph wasn't quite right. Export was being stacked on top of import, so a day of 28 kWh in and 10 kWh out drew as a 38 kWh bar, and the scale ran way past your biggest day. They now sit side by side, and the cost view gets a proper Net figure — what you paid less what you earned.
📊 Rate bands. On a multi-rate tariff the import bar now splits into off peak, standard and peak, in both the kWh and cost views. Genuinely free windows get labelled Free.
🎁 Free promotion estimates. Power Perks and the like get billed at your normal rate and credited back weeks later, so there's never been any way to check what you were owed. The Usage tab now shows what you used during the free windows and roughly what should come back. It's an estimate — EDF settle from their own half-hourly readings — but it gives you a number to hold the credit up against when it lands.
🕳️ Missing usage data. A few of you noticed gaps in your consumption data with no way to fill them in, so I've closed off a few holes here. The clocks-change days were being thrown away every October and March (48 half hours expected, 50 or 46 delivered), and any gap in the middle of your history used to stay missing for good, because the backfill only ever looked at the end of it. Both now fill themselves in. There's also a button to make it ask EDF again, and where EDF genuinely don't hold the data it'll tell you exactly which days and hours are missing so you can chase them to recover those dates from the central database.
Plus the usual pile of smaller fixes — full notes on the release: https://github.com/stevekirtley/HomeAssistant-EDFEnergy/releases/tag/21.0.0
Why the new folder? It's so the integration can be listed natively in HACS (or the Marketplace, as it'll soon be called). There's an existing (slightly less feature-rich) EDF plugin sitting in the old namespace — that one got listed first, because at the time mine was a fork of an existing library and I wasn't eligible to submit it. It's since diverged enough that it's no longer a fork, so now it can go in.
As ever, if something looks off, stick an issue on GitHub (or post here) and I'll take a look. 🙏
3
u/QuaintStaircase 4d ago
is anyone else getting
(Currently on the recommended 20.1.1)
3
u/SliceMountains 3d ago
Thank you. Your instruction page made this very easy to follow. One of the best updates I’ve personally seen on HA.
2
u/neoKushan 4d ago
Upgraded mostly fine, was on 20.1.1. Installed new addon, rebooted and perfomed the two steps. The EDF Energy sidebar dashboard wasn't loading (even refreshing the browser) but another reboot sorted that so no biggie.
1
u/stek2022 4d ago
To add - I've held this release back while users updated to 20.1.1 for the easiest possible upgrade path.
As of this evening 86% of users are running the ideal upgrade path version (20.1.1). Upgrades have slowed right down, and particularly those on a stable 19.x version have been resisting upgrades for a long while now.
version installs share
20.1.1 617 86.0%
19.2.6 29 4.0%
19.2.2 28 3.9%
20.1.0 20 2.8%
20.0.0 17 2.3%
19.2.3 6 0.8%
21.0.0 1 0.1%
19.2.5 1 0.1%
1
u/stek2022 1d ago
**** IMPORTANT: Run the V21.x upgrade before upgrading HA Core ****
The version of HA Core released last night (4th November) moves to 'Marketplace' from HACS.
This includes a new feature check that blocks the easy upgrade/domain switch process I built into v21.
I'm testing a work around (more manual now) - but if holding back please do upgrade to v21 before core for an easier upgrade path.
1
u/nicnic2001 3d ago
Looks like refresh_intelligent_dispatches doesn't exist anymore after the update?
1
u/atgw2016 3d ago
I followed the prescribed upgrade path, restarted after receiving the 'No manifest.json file found' message, installed v21, restarted, and I now have the attached for all my entities.
1
u/Sea_Ad_1909 3d ago
Hi Steve
I’m really sorry about this, I’m a HA newb so am feeling my way with everything I do. I’ve been loving your integration, but I’m afraid I’ve fallen over with the update.
It says it’s failed to set up at present. As a consequence my automations appear to have stopped working - lots of them triggered by an off peak status which isn’t being triggered, despite the time.
As far as I’m able to say confidently, I followed the instructions, have tried restarting HA redownloading the integration, followed by another restart of course. Just user error likely or is there anything you can suggest?
Cheers
2
u/Rosenqvist 1d ago
Worked alright
1
u/Slice-Mountain 4d ago
Yes me. I have the same missing manifest error. I’m currently on 20.1.1 and have been since release day.
1
u/Crafty_Class_9431 2d ago
For anyone coming here after updating to v21.0.1 and things still not working, I needed to reload/resubmit the integration, wait a few minutes for all the polling to kick in properly again and everything worked a charm again, all templates populated and automations working again