Hotfix import error in ZHA for 2024.3.1 patch release (#113250)

This commit is contained in:
Franck Nijhof 2024-03-13 19:35:43 +01:00 committed by GitHub
parent 525b20ca8e
commit b88cdd78bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -500,7 +500,7 @@ class ZhaConfigFlowHandler(BaseZhaFlow, config_entries.ConfigFlow, domain=DOMAIN
if not current_entry: if not current_entry:
return return
if current_entry.source != SOURCE_IGNORE: if current_entry.source != config_entries.SOURCE_IGNORE:
self._abort_if_unique_id_configured() self._abort_if_unique_id_configured()
else: else:
# Only update the current entry if it is an ignored discovery # Only update the current entry if it is an ignored discovery