How to delete a device NOT in an integration

How do I delete a non-existent device that is NOT in an integration? I made a device in ESPHome, but the switch did not work and I deleted the yaml file in ESPHome, but it still shows in devices. How do I delete it?

Have you tried to click on the Device ( in Devices), then to the left (Device Info) the 3 small dots …

Are you sure you don’t have ESPHome in your integrations list?

Yes:
3dots

I have never seen a “Delete” there in any device.

Yes, but there is no “utility_room_light” in the integration, but in “Devices” it says that it is in integration: ESPHome.

integraion

Yes, you will most likely if you went through all your devices, but apparently not for all integrations ( i also noticed that )

I am also having this issue

Solved my own problem.

The file [.storage/core.config_entries] reveals that the “title” and “device name” had become mismatched. Integrations lists devices by the former, while the devices tab lists them by the latter. By searching for the mysterious device name within this config file, I was able to learn the device “title” which allowed me to then delete it from the integrations page.