Closed saberone closed 1 year ago
same problem here
Deze fout is ontstaan door een aangepaste integratie.
Logger: homeassistant.loader Source: custom_components/saj_modbus/hub.py:10 Integration: SAJ Inverter Modbus (documentation, issues) First occurred: 19:57:21 (3 occurrences) Last logged: 19:58:57
Unexpected exception importing platform custom_components.saj_modbus.config_flow
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen imp
ortlib._bootstrap>", line 1204, in _gcd_import
File "
I cannot reproduce this issue with my own install. Can you tell me which Home Assistant versions and installation type you are running, and on what kind of hardware?
Home Assistant 2023.6.3 Supervisor 2023.06.4 Operating System 10.3 Frontend-versie: 20230608.0 - latest
I'm running a virtualbox image on a server with a AMD Ryzen 5 3600 6-Core Processor.
i'm testing now on a clean install if i can reproduce the issue
looks like solaredge modbus (https://github.com/binsentsu/home-assistant-solaredge-modbus) in combination with this intergration gives this issue. If i remove the solaredge intergration and reboot HA the problem is gone. install solaredge intergration and the problem is back.
looks like solaredge modbus (https://github.com/binsentsu/home-assistant-solaredge-modbus) in combination with this intergration gives this issue. If i remove the solaredge intergration and reboot HA the problem is gone. install solaredge intergration and the problem is back.
Hmm. I also have a solaredge modbus hacs module installed. So that combination triggers this issue.
Can you check if this problem is resolved by using version v1.8.0 ? There were some changes to support newer pymodbus versions: https://github.com/wimb0/home-assistant-saj-modbus/releases/tag/v1.8.0
I installed version 1.8.0. And the installation works! Thanks for the update.
Thanks for checking. I will close this issue,
I just installed the saj-modbus plugin. But when I try to add a SAJ Inverter Modbus integration I get the following error:
Config flow could not be loaded: {"message":"Invalid handler specified"}
When I check in the log file I see the following to error logs:
and
I'm running Home Assistant 2023.6.3 and HACS Integration version 1.32.1 and Frontend version: 20220906112053.
Any help is appreciated.