How to get Home Assistant to "forget" ESPHome Sensor?

I have a few ds18b20 temperatures sensors connected to a Sonoff TH16. Working great.
But, I repurposed one of the sensors and want to get rid of all of the old data so I don’t see it in HA.

How can I do it?

Before the change the sensor was set up like this in the device yaml:

sensor:
  - platform: dallas
    address: ${dallas_address_room}
    name: ${friendly_name} DS18B20 Temperature - NEW

I tried changing the name, but in HA it still kept the same entity ID.
So I tried adding an ID in the device yaml:

sensor:
  - platform: dallas
    id: sonoff_th16_1_ds18b20_new
    address: ${dallas_address_room}
    name: ${friendly_name} DS18B20 Temperature - NEW

But, still HA is showing the sensor as the original entity ID.

I’m confused.

Delete the device’s integration from HA. Then re-add it.