mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +00:00
Reolink fix missing title_placeholders (#95827)
This commit is contained in:
parent
081e4e03a7
commit
b3e1a3f624
@ -79,6 +79,10 @@ class ReolinkFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):
|
|||||||
self._username = entry_data[CONF_USERNAME]
|
self._username = entry_data[CONF_USERNAME]
|
||||||
self._password = entry_data[CONF_PASSWORD]
|
self._password = entry_data[CONF_PASSWORD]
|
||||||
self._reauth = True
|
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()
|
return await self.async_step_reauth_confirm()
|
||||||
|
|
||||||
async def async_step_reauth_confirm(
|
async def async_step_reauth_confirm(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user