I am in the process of rebuilding my HA from scratch. I have the ESPHome add-on loaded and working perfectly. Currently it has no devices as I have not yet reloaded the yaml files. When I try to add the integration and add the ip address of my HA, I get the error “Can’t connect to ESP. Please make sure your YAML file contains an ‘api:’ line.”
I have no idea what ‘api’ line it is referring to.
I do not recall ever getting that error on my first build.