Fixed: After several hours thinking I did the following.
1.- A copy of the entire “custom_components” directory tree.
2.- I deleted the whole tree.
3.- I created a new folder “custom_components”.
4.- I put back in that directory, all the subdirectories.
4.- HA reset
Everything worked again.
It was clear that the “custom_components” folder had something corrupted in the name that was not fixed by restoring the backups.
It was suspicious that everything below had stopped working: HACS and all the other components. When starting HA it couldn’t read from those directories and everything appeared as “not loaded”.
Nice…