Just did update and now cannot connect #341
Unanswered
sydrooster
asked this question in
Troubleshooting
Replies: 2 comments
|
Hi @sydrooster — this is a Home Assistant version compatibility issue, not a problem with the integration. The Please update Home Assistant and the error should be gone. |
0 replies
|
OK, thank you. I had been dreading moving to DSM 7 so now that nightmare begins. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Bit lost and desperate for help. I just tried to update the Sigenergy ESS via HACS from 1.2.0 to 1.2.1 and now everything is broken. I'm not sure if HA also updated its version there were a few updates, i only update every few months. Everything has been faultess since i setup a few months ago and have dashboards galore.
I just get the error"
"Sigen Plant
Failed to set up:
Check the logs"
In the logs it contains:
Logger: homeassistant.config_entries
Source: config_entries.py:751
First occurred: 2:30:28 PM (8 occurrences)
Last logged: 2:50:43 PM
Error setting up entry Sigen Plant for sigen
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 1260, in _load_platform
cache[full_name] = self._import_platform(platform_name)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1292, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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/sigen/sensor.py", line 36, in
from .static_sensor import StaticSensors as SS
File "/config/custom_components/sigen/static_sensor.py", line 24, in
class StaticSensors:
...<1763 lines>...
]
File "/config/custom_components/sigen/static_sensor.py", line 89, in StaticSensors
native_unit_of_measurement=UnitOfApparentPower.KILO_VOLT_AMPERE,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'UnitOfApparentPower' has no attribute 'KILO_VOLT_AMPERE'. Did you mean: 'MILLIVOLT_AMPERE'?
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/sigen/init.py", line 78, in async_setup_entry
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2571, in async_forward_entry_setups
await integration.async_get_platforms(platforms)
File "/usr/src/homeassistant/homeassistant/loader.py", line 1173, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1173, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1173, in async_get_platforms
import_future.result()
~~~~~~~~~~~~~~~~~~~~^^
[Previous line repeated 2 more times]
File "/usr/src/homeassistant/homeassistant/loader.py", line 1161, in async_get_platforms
platforms.update(self._load_platforms(platform_names))
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1086, in _load_platforms
platform_name: self._load_platform(platform_name)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 1280, in _load_platform
raise ImportError(
f"Exception importing {self.pkg_path}.{platform_name}"
) from err
ImportError: Exception importing custom_components.sigen.sensor
I'm not the most savy with this stuff but can usually follow guides well enough. There are a few other errors but this appears to be the main one. Hope someone can help.
Thanks
All reactions