Skip to content

Orphaned entities are not deleted #1136

@andreaskoelsch

Description

@andreaskoelsch

What version of Spook are you using?

4.0.1

What version of Home Assistant are you using?

2025.11.3

The problem

I tried to delete all orphaned entities, but they do not get deleted. If I list them before and after the deletion, the list is the same. also a reboot does not change anything.
What I actually wanted to do was to remove entities created by Thermal Comfort because I don't need all of them.

Steps to reproduce:

  • Install Thermal Comfort from HACS
  • Create a Thermal Comfort device with all entities checked
  • Remove the just created device
  • Uninstall Thermal Comfort
  • List orphaned entities (Spook), check the ones from the removed device are there
  • Delete all orphaned entities (Spook)
  • List orphaned entities -> entities are still there!
  • Install Thermal Comfort again
  • Create device with the same name again, but do not check all entities to create -> still all entities are there!

Any number of reboots in between did not change anything.

The issue is not limited to Thermal Comfort. The same happens with some old automations or some manually defined switches which are long gone.

Anything in the logs? Paste it here!


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions