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!
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.