mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Fix lying comment in ConfigEntriesFlowManager.async_finish_flow (#142146)
This commit is contained in:
parent
c2eb72fce4
commit
b7bc9607a2
@ -1526,7 +1526,7 @@ class ConfigEntriesFlowManager(
|
|||||||
ir.async_delete_issue(self.hass, HOMEASSISTANT_DOMAIN, issue_id)
|
ir.async_delete_issue(self.hass, HOMEASSISTANT_DOMAIN, issue_id)
|
||||||
|
|
||||||
if result["type"] != data_entry_flow.FlowResultType.CREATE_ENTRY:
|
if result["type"] != data_entry_flow.FlowResultType.CREATE_ENTRY:
|
||||||
# If there's an ignored config entry with a matching unique ID,
|
# If there's a config entry with a matching unique ID,
|
||||||
# update the discovery key.
|
# update the discovery key.
|
||||||
if (
|
if (
|
||||||
(discovery_key := flow.context.get("discovery_key"))
|
(discovery_key := flow.context.get("discovery_key"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user