EspHome re-add device deleted

Hi all,

I accidentally deleted a device inside espHome, I can see it in HA but not in espHome, how can I add it again to the espHome dashboard?


Do you have a backup of your config folder?

If so, open it up (it is a compressed file) the open up the homeassistant compressed file inside that and look for your device esphome yaml file in config/esphome. Copy it to the same location in your running installation.

It will then be picked up automatically inside the esphome addon.