I have installed from 0 (HACS) and when I put "virtual:" in my "configuration.yaml" I get this message when checking my configuration. How can I solve it?
Home Assistant 2023.3.5
Supervisor 2023.03.1
Frontend 20230309.1 - latest
2023-03-19 13:51:00.150 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.virtual
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 760, in get_component
cache[self.domain] = importlib.import_module(self.pkg_path)
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/config/custom_components/virtual/__init__.py", line 8, in <module>
from distutils import util
File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/util.py", line 18, in <module>
from .spawn import spawn
File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/spawn.py", line 15, in <module>
from ._log import log
File "/usr/local/lib/python3.10/site-packages/setuptools/_distutils/_log.py", line 4, in <module>
log = logging.getLogger()
**TypeError: get_logger() missing 1 required positional argument: 'name'**
This issue is stale because it has been open for 365 days with no activity. This issue will be automatically closed within 28 days if there is no further activity.
I have installed from 0 (HACS) and when I put "virtual:" in my "configuration.yaml" I get this message when checking my configuration. How can I solve it?
Home Assistant 2023.3.5 Supervisor 2023.03.1 Frontend 20230309.1 - latest