@makai – Hi Makai, we didn’t have the repository add on, thanks for asking. ![:+1: :+1:](https://community.home-assistant.io/images/emoji/twitter/+1.png?v=10)
@jsuanet – Hi jsuanet, yea we did try this many times but thanks for asking. ![:+1: :+1:](https://community.home-assistant.io/images/emoji/twitter/+1.png?v=10)
WE SOLVED THIS PROBLEM
All I can say is thanks for backups!!
These are the steps we took
1/ Copied all our backups from HA to our PC
2/ Copied all the code we have changed in yamal files to our PC
3/ We noticed 2 off “os_6.6” backups. Strange, we must of interrupted the update. Probably my fault, so net time I will be more patient and just wait. So we restored back to the first backup created. This resolved our HA upgrade problem as we can now see we have the option to update HA to the latest release. But we just waited and moved on to the next step. See Note at the end.
4/ We noticed a backup of ESPHome with a realer release, so we used that backup to fix ESPHome and it worked. We now can see we have an option to upgrade to the latest release. So we upgraded ESPHome. All worked no problem. The only thing we had was the upgrade time wheel keep spinning and we waited for ages and it just keeps going…… so we clicked off ESPHome and went back into it and it had done the upgrade. Not sure why it did this, maybe a bug but will keep an eye on it next ESPHome update.
5/ Updated HA. No problem there just waited and it refreshed for us to login again.
6/ Used the yamal files code to update our HA, just copied and paste.
7/ HA discovered our missing ESPHome device so we just clicked configure and it added it in under integrations. It didn’t show up in ESPhome add-on so we just added it in with the same name and it connected. We then copied our yamal into it and updated it (flashed it).
We then found that is put a “_2” on the end of the entity ID’s. So in “entities” we just selected all the original entity’s with the correct entity ID name and removed it (NOTE: it has a restore icon on the right of everyone we removed). Then we edited the entities with the “_2” on the end changing or removing the “_2” for everyone. This fixed up lovelase and everything was displaying correctly.
8/ Updated all our ESPHome devices.
9/ Full backup of our system and copied the file onto our PC.
NOTE: We did lose some stored data. Maybe it was in step 3 as we selected all our folders as well. Maybe if you’re trying this fix… try not selecting the folders in your backup restore and only HA file. It just may keep all your data and yamal file.
Hope this helps someone. ![:heart: :heart:](https://community.home-assistant.io/images/emoji/twitter/heart.png?v=10)