Two ESPHome Diagnostics files?

I see two ESPHome Diagnostics downloadable files on one of my devices details pages:

I noticed this while trying to understand why this particular device becomes unavailable every time I update HA to the latest version.

When I update HA, the devices’ entities become unavailable, then I need to delete the integration and add it back. Then everything works fine.

Any ideas?

Anyone?

Where can I find that duplicate device other than the UI?

I see this on every one of my devices. Looks normal to me.

Well, what is the question?
Is the device unavailable or just the sensors? Can you see them in “Developer Tools”?

I meant, the sensors and switches, not the device itself.

The first one should be the network diagnostic and the other esphome diagnostic, it doesn’t mean the device is duplicated, you will typically see this when you have some sort of network discovery/tracker configured, like router or nmap.

A few versions later, the problem persists:

image

I even migrated from Docker to HAOS and inherited the problem from the older installation :man_facepalming: