Component error: hacs - Integration 'hacs' not found. and Component error: sonoff - Integration 'sonoff' not found

After upgrade to the last versione I have error in this component:
HACS
SONOFF

This is the log:

2020-04-18 16:41:04 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.hacs. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 391, in _load_file
module = importlib.import_module(path)
File “/usr/local/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 953, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/init.py”, line 16, in
from sampleclient.client import Client
ModuleNotFoundError: No module named ‘sampleclient’
2020-04-18 16:41:14 ERROR (MainThread) [homeassistant.loader] Error loading custom_components.sonoff. Make sure all dependencies are installed
Traceback (most recent call last):
File “/usr/src/homeassistant/homeassistant/loader.py”, line 391, in _load_file
module = importlib.import_module(path)
File “/usr/local/lib/python3.7/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 953, in _find_and_load_unlocked
File “”, line 219, in _call_with_frames_removed
File “”, line 1006, in _gcd_import
File “”, line 983, in _find_and_load
File “”, line 967, in _find_and_load_unlocked
File “”, line 677, in _load_unlocked
File “”, line 728, in exec_module
File “”, line 219, in _call_with_frames_removed
File “/config/custom_components/init.py”, line 16, in
from sampleclient.client import Client
ModuleNotFoundError: No module named ‘sampleclient’

Hello @vix1966 ,
Did you by chance found a solution for this ? I got the exact same issue and can’t figure out how to fix it yet. I’ve tried to install sampleclient from pip but it doesn’t seem to fix the problem.

Thx,
Lory

I also had same issue when updating, removed integration > custom components hacs folder deleted > reinstalled. Everything worked back. Some update issue with custom components i guess.