mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
parent
8099ea8817
commit
feaf50eee7
@ -97,7 +97,14 @@ def async_generate_url(
|
|||||||
) -> str:
|
) -> str:
|
||||||
"""Generate the full URL for a webhook_id."""
|
"""Generate the full URL for a webhook_id."""
|
||||||
return (
|
return (
|
||||||
f"{get_url(hass,allow_internal=allow_internal, allow_external=allow_external, allow_cloud=False, allow_ip=allow_ip, prefer_external=prefer_external,)}"
|
f"{get_url(
|
||||||
|
hass,
|
||||||
|
allow_internal=allow_internal,
|
||||||
|
allow_external=allow_external,
|
||||||
|
allow_cloud=False,
|
||||||
|
allow_ip=allow_ip,
|
||||||
|
prefer_external=prefer_external,
|
||||||
|
)}"
|
||||||
f"{async_generate_path(webhook_id)}"
|
f"{async_generate_path(webhook_id)}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user