diff --git a/homeassistant/components/zha/config_flow.py b/homeassistant/components/zha/config_flow.py index e544b2a415a410..3e6dd05a8b5038 100644 --- a/homeassistant/components/zha/config_flow.py +++ b/homeassistant/components/zha/config_flow.py @@ -500,7 +500,7 @@ async def _set_unique_id_and_update_ignored_flow( if not current_entry: return - if current_entry.source != SOURCE_IGNORE: + if current_entry.source != config_entries.SOURCE_IGNORE: self._abort_if_unique_id_configured() else: # Only update the current entry if it is an ignored discovery