Skip to content
New issue

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

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

Already on GitHub? # to your account

ImportError: cannot import name 'VERSION' #69

Closed
GewoonRoy opened this issue Nov 18, 2024 · 2 comments · Fixed by #70
Closed

ImportError: cannot import name 'VERSION' #69

GewoonRoy opened this issue Nov 18, 2024 · 2 comments · Fixed by #70

Comments

@GewoonRoy
Copy link

Carbo_com
Version: 11.2.6
Home Assistant Core: 2024.11.2

I tried to setup Carbo but keep getting the following error. I also re-installed the component and restarted after configuration.

Bron: config_entries.py:635
Eerst voorgekomen: 08:35:46 (1 gebeurtenissen)
Laatst gelogd: 08:35:46

Error setting up entry Carbu.com 7336AM Apeldoorn NL for carbu_com
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 635, in __async_setup_with_context
    result = await component.async_setup_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/carbu_com/__init__.py", line 75, in async_setup_entry
    await hass.config_entries.async_forward_entry_setups(config_entry, PLATFORMS)
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2242, in async_forward_entry_setups
    await integration.async_get_platforms(platforms)
  File "/usr/src/homeassistant/homeassistant/loader.py", line 1199, in async_get_platforms
    platforms[platform_name] = await future
                               ^^^^^^^^^^^^
ImportError: cannot import name 'VERSION' from 'custom_components.carbu_com' (/config/custom_components/carbu_com/__init__.py)```
@huizebruin
Copy link

Same here

@myTselection
Copy link
Owner

Sorry, stupid mistake
Will fix asap

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

Successfully merging a pull request may close this issue.

3 participants