Home Assistant integration for Huawei Solar inverters via Modbus
GNU Affero General Public License v3.0
559
stars
89
forks
source link
[Bug]: Integration cannot start after update of HA core to version Home Assistant 2023.6.0 Supervisor 2023.06.1 Operating System 10.2 Frontend 20230607.0 - latest #391
from log:
2023-06-08 18:51:25.192 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-08 18:51:25.207 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-08 18:51:48.757 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.huawei_solar_old
File "/config/custom_components/huawei_solar_old/init.py", line 25, in
from huawei_solar import HuaweiSolarBridge, HuaweiSolarException, InvalidCredentials
File "/usr/local/lib/python3.11/site-packages/huawei_solar/init.py", line 6, in
File "/usr/local/lib/python3.11/site-packages/huawei_solar/bridge.py", line 22, in
from huawei_solar.huawei_solar import AsyncHuaweiSolar, Result
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 14, in
2023-06-08 18:51:48.769 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration huawei_solar: Unable to import component: Exception importing custom_components.huawei_solar_old
Bescribe your Huawei Solar Setup
Inverter Type: SUN2000-8KTL-M1
Inverter Firmware version: V100R001C00SPC153
SDongle present: yes
Power meter present: single phase
Battery: LUNA2000 15 kWh
Battery Firmware version: V100R002C00SPC119
How do you connect to the inverter?
Via the SDongle, wired connection
Upload your Diagnostics File
2023-06-08 18:51:25.192 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-08 18:51:25.207 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2023-06-08 18:51:48.757 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.huawei_solar_old
File "/config/custom_components/huawei_solar_old/init.py", line 25, in
from huawei_solar import HuaweiSolarBridge, HuaweiSolarException, InvalidCredentials
File "/usr/local/lib/python3.11/site-packages/huawei_solar/init.py", line 6, in
File "/usr/local/lib/python3.11/site-packages/huawei_solar/bridge.py", line 22, in
from huawei_solar.huawei_solar import AsyncHuaweiSolar, Result
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 14, in
2023-06-08 18:51:48.769 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration huawei_solar: Unable to import component: Exception importing custom_components.huawei_solar_old
Upload your relevant debug logs
Not possible
Please confirm the following:
[X] The problem is still present in the latest release of this integration.
[X] 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)
Describe the issue
from log: 2023-06-08 18:51:25.192 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-08 18:51:25.207 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-08 18:51:48.757 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.huawei_solar_old File "/config/custom_components/huawei_solar_old/init.py", line 25, in
from huawei_solar import HuaweiSolarBridge, HuaweiSolarException, InvalidCredentials
File "/usr/local/lib/python3.11/site-packages/huawei_solar/init.py", line 6, in
File "/usr/local/lib/python3.11/site-packages/huawei_solar/bridge.py", line 22, in
from huawei_solar.huawei_solar import AsyncHuaweiSolar, Result
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 14, in
2023-06-08 18:51:48.769 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration huawei_solar: Unable to import component: Exception importing custom_components.huawei_solar_old
Bescribe your Huawei Solar Setup
Inverter Type: SUN2000-8KTL-M1 Inverter Firmware version: V100R001C00SPC153 SDongle present: yes Power meter present: single phase Battery: LUNA2000 15 kWh Battery Firmware version: V100R002C00SPC119
How do you connect to the inverter?
Via the SDongle, wired connection
Upload your Diagnostics File
2023-06-08 18:51:25.192 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-08 18:51:25.207 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration huawei_solar which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant 2023-06-08 18:51:48.757 ERROR (MainThread) [homeassistant.loader] Unexpected exception importing component custom_components.huawei_solar_old File "/config/custom_components/huawei_solar_old/init.py", line 25, in
from huawei_solar import HuaweiSolarBridge, HuaweiSolarException, InvalidCredentials
File "/usr/local/lib/python3.11/site-packages/huawei_solar/init.py", line 6, in
File "/usr/local/lib/python3.11/site-packages/huawei_solar/bridge.py", line 22, in
from huawei_solar.huawei_solar import AsyncHuaweiSolar, Result
File "/usr/local/lib/python3.11/site-packages/huawei_solar/huawei_solar.py", line 14, in
2023-06-08 18:51:48.769 ERROR (MainThread) [homeassistant.setup] Setup failed for custom integration huawei_solar: Unable to import component: Exception importing custom_components.huawei_solar_old
Upload your relevant debug logs
Please confirm the following: