Reolink fix missing title_placeholders (#95827)
This commit is contained in:
parent
081e4e03a7
commit
b3e1a3f624
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ class ReolinkFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||
self._username = entry_data[CONF_USERNAME]
|
||||
self._password = entry_data[CONF_PASSWORD]
|
||||
self._reauth = True
|
||||
self.context["title_placeholders"]["ip_address"] = entry_data[CONF_HOST]
|
||||
self.context["title_placeholders"]["hostname"] = self.context[
|
||||
"title_placeholders"
|
||||
]["name"]
|
||||
return await self.async_step_reauth_confirm()
|
||||
|
||||
async def async_step_reauth_confirm(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue