Open bashers222 opened 5 months ago
I need to look into this, I believe that cleaning up the entities should be possible. However, statistics data cannot be removed and imho shouldn't be automatically removed when removing the integration. (For when users troubleshoot by removing the config entry and re-adding it). For the statistics it should rather be something you more purposefully need to do via a HA settings page or something like that.
I found the excess sensors created implicitly on sart too much as i only needed 3 sensors. I removed it and reverted to my manual MODBUS config However there was no cleanup process on removal so all 200 plus entites and states were left in place.
I've had no choice but to restore fom a backup which is not great