Ensure doorbird always prefers internal url (#88369)
* Ensure doorbird always uses internal url The doorbird should always use the internal url to ensure the webhooks work. The doorbird does not verify ssl so there is no concern about ssl matching according to the LAN-2-LAN API v0.32 Dec 21 2022 * adjust * Update homeassistant/components/doorbird/__init__.pypull/88351/head
parent
39067f61e4
commit
5c09d81f86
|
@ -251,7 +251,7 @@ class ConfiguredDoorBird:
|
|||
def register_events(self, hass: HomeAssistant) -> None:
|
||||
"""Register events on device."""
|
||||
# Get the URL of this server
|
||||
hass_url = get_url(hass)
|
||||
hass_url = get_url(hass, prefer_external=False)
|
||||
|
||||
# Override url if another is specified in the configuration
|
||||
if self.custom_url is not None:
|
||||
|
|
Loading…
Reference in New Issue