ESP-Home Device available in HA as device but not in the ESP Home Integration

I have a ESP-Home device with is available and useable in HA (device list), but is NOT listed in the ESP Home integration. I have the esphome.yaml file in the ESP Home Addon.

How can I delete the device, when it is not available in the ESP Home integration. That is the only way to delete the device in HA I am aware off…

… very strange…

2 Likes

Could you clarify which page you are referring to? Removing the sketch from the addon(link on the menu bar) or going to the configuration page → integrations → esphome? It’s the latter that will remove the device from the system.

Integrations → esphome… so the 2nd option you mentioned. This is the place where I usually delete my esphome devices in HA. But the strange on is NOT there.

But it is listed in the configuration → devices list as an esp-home device.

All sensors and switches are working… the only thing missing is that it is listed in integrations → esphome list.

Thanks

If you click on a existing device it will tell you (and even present a link) to which integration it belongs.

A esphome device in ha can only inherit from a esphome integration - it’s really easy like that.

the device in question belongs to esphome… but it is not listed when viewing the esphome devices (under the integration page).

this is “configuration → devices”: here you find “esp-fishfeeder” and it is listed as ans ESPHome device

here is the esphome integration - and here is NO “esp-fishfeeder” - but this is the only point, where I could delete a device - right?

:point_up:

it is in the esp-home integration

but missing in this list

Top left: in the Area EG-kueche :man_cook:

What does it show in the small window if you click on the pen :pencil2: (top left)

here I can only rename the device … but cant delete it.

Let’s do it the old fashioned way than:

Click on one of the entities of your :fish:y device and click the :wheel_of_dharma: top right in the small window. Still in the small window you should find a tab “related” which should point you to the integration the entity inherits from

strange… Integration: “ESPHome: esp-cam01”?

when clicking on “ESPHome: esp-cam01” - I get to this …

these two devices are: ESP-Cam01 und ESP-fishfeeder

why is the fishfeeder listet under “ESP-Cam01” and not as a separte device?

ff5

This usalay happens when you flash a new yaml (with different name) to a former esphome device without deleting the integration before (in ha).

I guess your esp-cam01 is not (physically) present anymore? Then just go ahead, delete the integration and ad your fishfeeder again so you have a “clean” register

thanks - but the ESP-Cam01 is still available (is a ESP32Cam) and the esp-fishfeeder is NodeMCU - so completely different yamls…

Save the yaml for both devices, delete whatever entries are left in integrations. Then go to the esphome folder look for config copies–>delete them, then in the .storage folder you’ll find files like esphome.********** You’ll need to open them with a text editor, you should find copies of the yaml for the problem nodes, delete those files. Then restart and reinstall your nodes.

2 Likes

Big thanks - what are the esphome.******* files in the storage folder for?

This was super helpful for me too. Out of the blue one of my esphome devices went unavailable in HA (but perfectly fine in the esphome section). The steps you outlined fixed it for me. Everything else I had tried failed (moving device to static IP, deleting device, renaming device, restarting HA, etc).

1 Like