Hi all
I had some issues with my HUAWEI SUN 2000 and had to reinstall the HUAWEI Solar integration with HACS. Probably the uninstall of the previous integration was not clean enough or correct.
Now when I try to reinstall I have an issue with authentication in the configuration dialog. Connection is fine, when I enter a wrong account it tells me “Authentication failed” what is correct, if I enter the correct account I get a “unexpected error”. So I am stuck with the configuration.
Any ideas what I can try?
Thanks,
Regards,
Mike
here what I can see in the logs, it looks like there is something from my old configuration, but I have no idea how and where to remove.
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_configured
File "/config/custom_components/huawei_solar/config_flow.py", line 557, in _create_or_update_entry
self._abort_if_unique_id_configured(updates=data)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2395, in _abort_if_unique_id_configured
raise data_entry_flow.AbortFlow(error)
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_configured
2024-09-30 10:52:22.940 ERROR (MainThread) [custom_components.huawei_solar.config_flow] Unexpected exception while validating login parameters via ModbusTCP
Traceback (most recent call last):
File "/config/custom_components/huawei_solar/config_flow.py", line 497, in async_step_network_login
return await self._create_or_update_entry(self._inverter_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/huawei_solar/config_flow.py", line 557, in _create_or_update_entry
self._abort_if_unique_id_configured(updates=data)
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2395, in _abort_if_unique_id_configured
raise data_entry_flow.AbortFlow(error)
homeassistant.data_entry_flow.AbortFlow: Flow aborted: already_configured
Issue resolved, old configuration was disabled and not deleted