diff --git a/custom_components/solaredge_modbus_multi/config_flow.py b/custom_components/solaredge_modbus_multi/config_flow.py index 53672323..97a71417 100644 --- a/custom_components/solaredge_modbus_multi/config_flow.py +++ b/custom_components/solaredge_modbus_multi/config_flow.py @@ -146,9 +146,13 @@ async def async_step_reconfigure( ) this_unique_id = f"{user_input[CONF_HOST]}:{user_input[CONF_PORT]}" - self._async_abort_entries_match( - {"host": user_input[CONF_HOST], "port": user_input[CONF_PORT]} - ) + if this_unique_id != config_entry.unique_id: + self._async_abort_entries_match( + { + "host": user_input[CONF_HOST], + "port": user_input[CONF_PORT], + } + ) return self.async_update_reload_and_abort( config_entry,