Aohzan / ipx800

IPX800 V4 integration for Home-Assistant
Apache License 2.0
20 stars 12 forks source link

Remove entity/device on the integration #54

Closed S1M8N closed 2 months ago

S1M8N commented 2 months ago

Hello,

The problem come when I remove the entity in my configuration.yaml file, the entity/device stay in my home assistant integration.

I want to remove old entity in my integration. You think it's possible to add that ?

It's mandatory for me to disable the entity but it's not properly...

image

Aohzan commented 2 months ago

Hello This is related to HA functioning, I don't track existing entities of last start, so I can't delete them (as I can be an error and will be recreated at the next start), so the entity have to be deleted manually. For the device, I don't know why HA doesn't delete empty device automatically, I didn't find a solution to do it in the integration, so the only way I found for now is to manually edit the .storage/core.device_registry file...