mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
Revert bond reload on setup_retry discovery (#72744)
This commit is contained in:
parent
5fdc694325
commit
b3682a5c81
@ -114,7 +114,6 @@ class ConfigFlow(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
changed = new_data != dict(entry.data)
|
changed = new_data != dict(entry.data)
|
||||||
if changed:
|
if changed:
|
||||||
hass.config_entries.async_update_entry(entry, data=new_data)
|
hass.config_entries.async_update_entry(entry, data=new_data)
|
||||||
if changed or entry.state is ConfigEntryState.SETUP_RETRY:
|
|
||||||
entry_id = entry.entry_id
|
entry_id = entry.entry_id
|
||||||
hass.async_create_task(hass.config_entries.async_reload(entry_id))
|
hass.async_create_task(hass.config_entries.async_reload(entry_id))
|
||||||
raise AbortFlow("already_configured")
|
raise AbortFlow("already_configured")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user