mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Add Fritz visit device link to discovered devices (#69186)
This commit is contained in:
parent
f8333feb51
commit
beb5184720
@ -148,9 +148,13 @@ class FritzBoxToolsFlowHandler(ConfigFlow, domain=DOMAIN):
|
||||
self.hass.config_entries.async_update_entry(entry, unique_id=uuid)
|
||||
return self.async_abort(reason="already_configured")
|
||||
|
||||
self.context["title_placeholders"] = {
|
||||
"name": self._name.replace("FRITZ!Box ", "")
|
||||
}
|
||||
self.context.update(
|
||||
{
|
||||
"title_placeholders": {"name": self._name.replace("FRITZ!Box ", "")},
|
||||
"configuration_url": f"http://{self._host}",
|
||||
}
|
||||
)
|
||||
|
||||
return await self.async_step_confirm()
|
||||
|
||||
async def async_step_confirm(
|
||||
|
Loading…
x
Reference in New Issue
Block a user