Change ESP Hardware - preserve entities

Hi,

I needed to replace the ESP8266 controller board of a ESPHome device. So I unplugged the old one and installed the same “yaml” to another, fresh board directly connected to my HA instance. So far so good, the new board principally does its job.

However, HA wanted me to integrate a new device, just appending _2 to the entities names.

I want to preserve my original entities with their history! How can I do this when changing hardware!

Cheers
Micha

Delete the esphome integration for that particular node in HA (doesn’t delete any history) before installing the old esphome yaml to the new device. Then just add it again to HA.

Ok, thanks, I will try it next time.

Probably still easy fixable, remove the esphome node and it again?

to clarify remove the old and new node and add the new one again.

myself I did this many times and it always went well.

Indeeed! Might be only one to remove when the old & new had the same name