If you want to remove HACS you need to do that using the folowing steps.
- Remove the configuration from
configuration.yaml(if configured with legacy(YAMl)) or remove it using the trashbin icon on the integration page.
- Restart Home Assistant important
- Restart Home Assistant (yes, this needs to be done twice) important
- Delete the
- Delete all files and directories containing
- Restart Home Assistant.
When removed the wrong way. An option is to install it again. Just move hacs back to custom components and reboot. And start the remove procedure again.