I had updated HACS from 1.2.2 to 1.3.3 and found some integrations was not working.
So I tried to downgrade HACS to check if that was the issue (with 1.3.3) and suddenly the custom components folder is empty with only hacs in it.
It has tens of integrations before that I have added and used.
I downgraded to 1.3.0
It happened to me before that has deleted everything in my custom_components folder. Hope you have a good backup.