mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Avoid mutating title_placeholders in synology_dsm (#127210)
This commit is contained in:
parent
9d557f47b7
commit
e2518ab4d7
@ -326,7 +326,11 @@ class SynologyDSMFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
) -> ConfigFlowResult:
|
||||
"""Perform reauth upon an API authentication error."""
|
||||
self.reauth_conf = entry_data
|
||||
self.context["title_placeholders"][CONF_HOST] = entry_data[CONF_HOST]
|
||||
placeholders = {
|
||||
**self.context["title_placeholders"],
|
||||
CONF_HOST: entry_data[CONF_HOST],
|
||||
}
|
||||
self.context["title_placeholders"] = placeholders
|
||||
|
||||
return await self.async_step_reauth_confirm()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user