Why can't I remove empty devices from integrations?

I cant remove devices from integrations. Why? The device doesn’t exist any more (in this case deconz).

I’ve run into this with several integrations as well. I have several ESPHome integrations for “non-existent” devices.

That device is not empty, it contains 2 disabled entities. Would you expect a device to be hidden if you disable all entities ?

It’s up to the integration to manage it’s devices. Deleting a config entry will automatically clean it up.

This one got no entities:

Any chance it is the coordinator or a remote? For zigbee integrations this can actually be quite common. Hiding them is one thing that I can see maybe allowing. Removing them completely could actually break integrations that expect things like the coordinator on a zigbee network (the device that represents your USB stick or hat) to always exist.

No, this is (was) a group that I deleted in deconz. I have multiple of these “empty devices”.

That’s a bug in the Deconz integration.

1 Like