Hi folks, I am using ESPHome to monitor my Lithium batteries, using nkinnan's pace-bms external component. I previously had it configured as a single device, returning entities for the first of two batteries. He recently implemented multiple battery support, so I added two sub-devices, and assigned each battery to a device. However, the entities from the first battery are still being named according to the configuration when there was only a single battery, not using the naming convention of the two sub-devices. I tried deleting and recreating the ESPHome device using the ESPHome integration page, but that did not fix the entity naming, and I could still see history for the old entities.
I have confirmed using aioesphomeapi that the ESPHome configuration is good, and each entity is properly linked to the relevant sub-device. So, my question is, how can I completely delete entities from HA, so that they will be recreated from scratch, using their new names?