Question about installing ESPHome from a different repository

Hi all,

When I originally installed ESPHome, I had to manually add the ESPHome repository to Home Assistant, and that’s pretty much how it remained for literally years. But a recent update to Home Assistant killed all my 3rd party repositories. The addons are still installed, but the third party repositories were simply hoovered out.

I’ve managed to re-add frenck’s community add-ons, and I see that ESPHome is now part of that. Frenck’s addon shows the latest version as 2021.8.2, while mine is still on 2021.8.0 and doesn’t detect an update.

The version in the community add-ons store seems, according to this documentation, to be the official way to install ESPHome now. So on the face of it, it seems like the right thing to do is to uninstall the old add-on, and reinstall it via the community add-ons repository.

But my question is this. What will happen to the yaml of all my devices if I do this? I have some 30+ ESPHome devices in my setup - will I lose all of that code by doing this?

Should I not maybe install the community add-on over the top of my existing add-on? Please advise me, I am very worried.

I think they (edit, I mean all the addons that install esphome) all put the yaml files in the same place and will be preserved, but to be sure you should do a backup of the addon or simply copy config/esphome and it’s contents somewhere else. (making sure that your yaml files and compile directories are actually there)

1 Like

Thanks @nickrout. I do an automatic daily backup which I’ve just checked is valid, so I should be good to go. I’ll give feedback if it all goes ok, in case anyone else is in this situation.

Sorry @nickrout, one last question - do you think I should uninstall the old one and install the new one, or should I install the new one on top of the old one? … if that makes sense?

At one stage I had three esphome addons installed, one on -dev, one on current and I suspect the other one that has disappeared like yours. I changed from one to the other a few times with no problems.

So I’d say just install over the top.

1 Like

That worked, and the new version (2021.8.2) is installed. However, the old version (2021.8.0) still shows up as a separate add-on. You reckon it’s safe to uninstall it?

Yep should be fine.

All safe. Thank you for your help @nickrout, you’re a champ.

Nah, just been there done that!