mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +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)
|
self.hass.config_entries.async_update_entry(entry, unique_id=uuid)
|
||||||
return self.async_abort(reason="already_configured")
|
return self.async_abort(reason="already_configured")
|
||||||
|
|
||||||
self.context["title_placeholders"] = {
|
self.context.update(
|
||||||
"name": self._name.replace("FRITZ!Box ", "")
|
{
|
||||||
}
|
"title_placeholders": {"name": self._name.replace("FRITZ!Box ", "")},
|
||||||
|
"configuration_url": f"http://{self._host}",
|
||||||
|
}
|
||||||
|
)
|
||||||
|
|
||||||
return await self.async_step_confirm()
|
return await self.async_step_confirm()
|
||||||
|
|
||||||
async def async_step_confirm(
|
async def async_step_confirm(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user