Closed KingBendico closed 4 months ago
Logger: homeassistant.loader Source: loader.py:1067 First occurred: 11:26:49 AM (2 occurrences) Last logged: 11:26:51 AM
Unexpected exception importing component custom_components.genvex_connect
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "
Logger: homeassistant.util.loop Source: util/loop.py:77 First occurred: 11:29:26 AM (1 occurrences) Last logged: 11:29:26 AM
Detected blocking call to import_module with args ('custom_components.genvex_connect',) in /usr/src/homeassistant/homeassistant/loader.py, line 1067: ComponentProtocol, importlib.import_module(self.pkg_path) inside the event loop; This is causing stability issues. Please create a bug report at https://github.com/home-assistant/core/issues?q=is%3Aopen+is%3Aissue For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module Traceback (most recent call last): File "
Wierd thought it was fixed in 0.2.2.2.. Seems like the old GenvexNabto version was still in the release?
Logger: homeassistant.setup Source: setup.py:322 First occurred: 11:26:51 AM (1 occurrences) Last logged: 11:26:51 AM
Setup failed for custom integration 'genvex_connect': Unable to import component: Exception importing custom_components.genvex_connect Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/genvex_connect/init.py", line 11, in
from genvexnabto import GenvexNabto, GenvexNabtoConnectionErrorType
File "/usr/local/lib/python3.12/site-packages/genvexnabto/init.py", line 1, in
from .genvexnabto import ( GenvexNabto, GenvexNabtoConnectionErrorType )
File "/usr/local/lib/python3.12/site-packages/genvexnabto/genvexnabto.py", line 8, in
from .models import ( GenvexNabtoDatapointKey, GenvexNabtoSetpointKey )
File "/usr/local/lib/python3.12/site-packages/genvexnabto/models/init.py", line 2, in
from .optima314 import GenvexNabtoOptima314
File "/usr/local/lib/python3.12/site-packages/genvexnabto/models/optima314.py", line 23
GenvexNabtoSetpointKey.TEMP_SETPOINT: GenvexNabtoSetpoint(read_obj=0, read_address=1, write_obj=0, write_address=12, divider=10, offset=100, min=0, max=200, step=0.5, step=0.5),
^^^^^^^^
SyntaxError: keyword argument repeated: step
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 1007, in async_get_component comp = await self.hass.async_add_import_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1078, in _get_component raise ImportError(f"Exception importing {self.pkg_path}") from err ImportError: Exception importing custom_components.genvex_connect
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/loader.py", line 1067, in _get_component ComponentProtocol, importlib.import_module(self.pkg_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/genvex_connect/init.py", line 11, in
from genvexnabto import GenvexNabto, GenvexNabtoConnectionErrorType
File "/usr/local/lib/python3.12/site-packages/genvexnabto/init.py", line 1, in
from .genvexnabto import ( GenvexNabto, GenvexNabtoConnectionErrorType )
File "/usr/local/lib/python3.12/site-packages/genvexnabto/genvexnabto.py", line 8, in
from .models import ( GenvexNabtoDatapointKey, GenvexNabtoSetpointKey )
File "/usr/local/lib/python3.12/site-packages/genvexnabto/models/init.py", line 2, in
from .optima314 import GenvexNabtoOptima314
File "/usr/local/lib/python3.12/site-packages/genvexnabto/models/optima314.py", line 23
GenvexNabtoSetpointKey.TEMP_SETPOINT: GenvexNabtoSetpoint(read_obj=0, read_address=1, write_obj=0, write_address=12, divider=10, offset=100, min=0, max=200, step=0.5, step=0.5),
^^^^^^^^
SyntaxError: keyword argument repeated: step
The above exception was the direct cause of the following exception:
Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/setup.py", line 322, in _async_setup_component component = await integration.async_get_component() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component self._component_future.result() File "/usr/src/homeassistant/homeassistant/loader.py", line 1019, in async_get_component comp = self._get_component() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/loader.py", line 1078, in _get_component raise ImportError(f"Exception importing {self.pkg_path}") from err ImportError: Exception importing custom_components.genvex_connect