Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstall errors after name change #7

Closed
freshfieldx opened this issue May 1, 2021 · 1 comment
Closed

Reinstall errors after name change #7

freshfieldx opened this issue May 1, 2021 · 1 comment

Comments

@freshfieldx
Copy link

Source: loader.py:490
First occurred: 11:59:40 (5 occurrences)
Last logged: 11:59:40

Unexpected error importing tesla_custom/media_source.py
Unexpected error importing tesla_custom/group.py
Unexpected error importing tesla_custom/system_health.py
Unexpected error importing tesla_custom/logbook.py
Unexpected error importing tesla_custom/significant_change.py
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/integration_platform.py", line 30, in _process
platform = integration.get_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 485, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 490, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.8/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'custom_components.tesla.media_source'

@alandtse
Copy link
Owner

alandtse commented May 1, 2021

You need to completely remove and reinstall it. After the reinstall check the custom components folder and make sure Tesla is gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants