From 5c09d81f864b4b77d3fbe4f4b79f17ae69a9fd62 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 18 Feb 2023 02:33:40 -0600 Subject: [PATCH] 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__.py --- homeassistant/components/doorbird/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/doorbird/__init__.py b/homeassistant/components/doorbird/__init__.py index 7a675348561..deb37c1bfe3 100644 --- a/homeassistant/components/doorbird/__init__.py +++ b/homeassistant/components/doorbird/__init__.py @@ -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: