Repository stays marked as installed after its directory is removed manually

Author: mafio69Created Sep 25, 2026Updated Sep 25, 2026

After removing a custom integration by deleting its directory from custom_components/, HACS still listed the repository with "installed": true in .storage/hacs.data and .storage/hacs.repositories.

The integration was gone from disk and had no config entry, but HACS continued to track it as installed, so an update could restore the files.

Would it make sense for HACS to detect that the target directory no longer exists and either mark the repository as not installed or surface it to the user?