pai icon indicating copy to clipboard operation
pai copied to clipboard

Removing & Re-Adding HA Addon Leave Orphans

Open beerygaz opened this issue 11 months ago • 1 comments

Alarm system

ECO 192

Environment

Home Assistant, latest Add On, IP150 Integration

Question

I'm trying to remove the orphaned entities that remain when I removed and re-added the integration. I mad some significant changes to labels and partitions and they were not syncing correctly, so I removed the add-on and re-installed. All of my new entities have come though with the new naming convention <device_type>.<panel_type>zone

However, the previous entities named <device_type>.zone_

Strangely the UI says the integration is "binay sensor" and not MQTT, but I have not templates or other sources defining these sensors, so thay my be a PAI legacy.

Image

beerygaz avatar Jan 19 '25 06:01 beerygaz

You need to stop PAI, then remove everything related to PAI in MQTT explorer (retain flag?). I remember HA has removed deleted conf entries for me.

yozik04 avatar Feb 16 '25 08:02 yozik04