Clean ESPHome build and cache folders

Hi,

I’m running ESPHome as an add-on on HA. And the ESPHome data folder is becoming quite large (almost 9G). Is it safe to remove the cache and the build folders? I assume the content of the cache folder will be downloaded again, and the same for the build folder, as I compile the code again for the devices. But I want to be sure before I do that.

The build files can be deleted not sure about the cache but I think it can be scrapped. You could download a copy of the esphome folder then delete the cache. This way you can restore it, if it causes a problem.