Oops- cant delete entity- why is a non-existent device being discovered?

I accidentally installed and added a device to the esphome integration, but I forgot to put the substitution lines in the yaml file:

# This is the node inside the Jeep to provide presence.
substitutions:
  device_name: jeep

So, lines like this:

# Get the WiFi details
text_sensor:
  - platform: wifi_info
    ip_address:
      name: ${display_name} IP Address
      id: SteveLight_ip
    ssid:
      name: ${display_name} SSID
    mac_address:
      name: ${display_name} Mac Address

Created entities named like:

${display_name} IP Address

I edited the yaml file to put the substitutions line in, recompiled, restarted HA, and… no change.
So, I delete the jeep integration, recompile, restarted HA, and no change.
I deleted the jeep.yaml file, deleted the integration, recompiled and restarted, and… no change.
Worse yet, discovery still finds the device that I deleted:

discovered

Additional info:
I did a grep for “jeep” in the config and all subdirectories and found nothing. Yet, home assistant still discovers the device.

How can I clean this mess up?

I mess up and change sensor names in ESPHome all the time. I just disable the old entity in HA and it’s never been a problem. No need to restart HA.

That’s the first thing I did- it’s in my post.
I deleted the integration,
I deleted the device’s YAML file
I deleted every file that had “Jeep” in it.
I restarted HA.
Yet, Discovery still finds the device.

I “solved” the problem by restoring the prior night’s backup.

I said disable the entity. You said delete the integration.

Entity != Integration

Glad you got it sorted.