You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since last update of the integration I have the error in title and the integration doesn't start. I've tried to update to the last home assistant core 25.2.4 with no luck
Describe your Huawei Solar Setup
Inverter Type: SUN2000-6KTL-L1
Inverter Firmware version:
sDongle present: Yes
sDongle Type: sDongleA-05 (WiFi / Ethernet)
sDongle Connectivitiy: Ethernet
sDongle Firmware:
Power meter present: single phase
Optimizers Present: Yes
Battery: LUNA2000-SO xxkWh / LUNA2000-S1 xxkWh (Released 2024) / LG RESU xxkWh / None
Battery Firmware version:
Huawei Solar integration version: latest
Setup failed for custom integration 'huawei_solar': Unable to import component: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/init.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1015, in async_get_component
comp = await self.hass.async_add_import_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._get_component, True
^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, 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 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/init.py", line 21, in
from huawei_solar import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/init.py", line 4, in
from .bridge import (
...<6 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 33, in
from .huawei_solar import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 18, in
from pymodbus.framer import FramerRTU
ImportError: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/init.py). Did you mean: 'Framer'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 340, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1035, in async_get_component
self._component_future.result()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
comp = self._get_component()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, 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 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/init.py", line 21, in
from huawei_solar import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/init.py", line 4, in
from .bridge import (
...<6 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 33, in
from .huawei_solar import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 18, in
from pymodbus.framer import FramerRTU
ImportError: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/init.py). Did you mean: 'Framer'?
Upload your relevant debug logs
Registratore: homeassistant.setup
Fonte: setup.py:340
Prima occorrenza: 21:40:23 (1 occorrenze)
Ultimo accesso: 21:40:23
Setup failed for custom integration 'huawei_solar': Unable to import component: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/__init__.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1015, in async_get_component
comp = await self.hass.async_add_import_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._get_component, True
^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/__init__.py", line 21, in <module>
from huawei_solar import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/__init__.py", line 4, in <module>
from .bridge import (
...<6 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 33, in <module>
from .huawei_solar import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 18, in <module>
from pymodbus.framer import FramerRTU
ImportError: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/__init__.py). Did you mean: 'Framer'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 340, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1035, in async_get_component
self._component_future.result()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
comp = self._get_component()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/__init__.py", line 88, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1026, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/__init__.py", line 21, in <module>
from huawei_solar import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/__init__.py", line 4, in <module>
from .bridge import (
...<6 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 33, in <module>
from .huawei_solar import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 18, in <module>
from pymodbus.framer import FramerRTU
ImportError: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/__init__.py). Did you mean: 'Framer'?
Please confirm the following:
I'm running the latest release of Home Assistant.
I'm running the latest release of this integration.
I did not find an existing issue describing this problem.
I did upload the diagnostics-file that I could retrieve from the 'Devices & Services Page'
I did upload the relevant debug logs (via 'Enable Debug Logging'-feature or by manually configuring HA logging)
The text was updated successfully, but these errors were encountered:
Describe the issue
Since last update of the integration I have the error in title and the integration doesn't start. I've tried to update to the last home assistant core 25.2.4 with no luck
Describe your Huawei Solar Setup
Inverter Type: SUN2000-6KTL-L1
Inverter Firmware version:
sDongle present: Yes
sDongle Type: sDongleA-05 (WiFi / Ethernet)
sDongle Connectivitiy: Ethernet
sDongle Firmware:
Power meter present: single phase
Optimizers Present: Yes
Battery: LUNA2000-SO xxkWh / LUNA2000-S1 xxkWh (Released 2024) / LG RESU xxkWh / None
Battery Firmware version:
Huawei Solar integration version: latest
How do you connect to the inverter?
Via the SDongle, wireless connection
Upload your Diagnostics File
Registratore: homeassistant.setup
Fonte: setup.py:340
Prima occorrenza: 21:40:23 (1 occorrenze)
Ultimo accesso: 21:40:23
Setup failed for custom integration 'huawei_solar': Unable to import component: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/init.py)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1015, in async_get_component
comp = await self.hass.async_add_import_executor_job(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self._get_component, True
^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, 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 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/init.py", line 21, in
from huawei_solar import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/init.py", line 4, in
from .bridge import (
...<6 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 33, in
from .huawei_solar import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 18, in
from pymodbus.framer import FramerRTU
ImportError: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/init.py). Did you mean: 'Framer'?
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 340, in _async_setup_component
component = await integration.async_get_component()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1035, in async_get_component
self._component_future.result()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1027, in async_get_component
comp = self._get_component()
File "/usr/src/homeassistant/homeassistant/loader.py", line 1075, in _get_component
ComponentProtocol, importlib.import_module(self.pkg_path)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/util/loop.py", line 201, in protected_loop_func
return func(*args, **kwargs)
File "/usr/local/lib/python3.13/importlib/init.py", line 88, 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 1026, in exec_module
File "", line 488, in _call_with_frames_removed
File "/config/custom_components/huawei_solar/init.py", line 21, in
from huawei_solar import (
...<9 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/init.py", line 4, in
from .bridge import (
...<6 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/bridge.py", line 33, in
from .huawei_solar import (
...<5 lines>...
)
File "/usr/local/lib/python3.13/site-packages/huawei_solar/huawei_solar.py", line 18, in
from pymodbus.framer import FramerRTU
ImportError: cannot import name 'FramerRTU' from 'pymodbus.framer' (/usr/local/lib/python3.13/site-packages/pymodbus/framer/init.py). Did you mean: 'Framer'?
Upload your relevant debug logs
Please confirm the following:
The text was updated successfully, but these errors were encountered: