zacs / ha-gtfs-rt

Real-time transit information for Home Assistant
MIT License
70 stars 30 forks source link

Cleanup Old Entities #20

Open DaAwesomeP opened 2 years ago

DaAwesomeP commented 2 years ago

Hello,

It seems that if you rename a sensor, then the old one is not removed.

Thanks!

mxr commented 1 year ago

I think this problem is agnostic to this integration. See https://community.home-assistant.io/t/how-to-delete-sensor-entity-that-was-defined-in-the-configuration-yaml-before/417112 and https://community.home-assistant.io/t/removing-sensor-permanently-and-or-deleting-historic-data/484979 for some things to try