From 0c94fcecf6ce57657de41612d258aafa457d2e0e Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 23 Oct 2021 23:32:45 -1000 Subject: [PATCH] Pull configuration_url from library in gogogate2 (#58318) --- homeassistant/components/gogogate2/common.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/homeassistant/components/gogogate2/common.py b/homeassistant/components/gogogate2/common.py index 42217910b81..c5d8c0f5137 100644 --- a/homeassistant/components/gogogate2/common.py +++ b/homeassistant/components/gogogate2/common.py @@ -96,11 +96,8 @@ class GoGoGate2Entity(CoordinatorEntity): def device_info(self) -> DeviceInfo: """Device info for the controller.""" data = self.coordinator.data - url = None - if data.model.startswith("ismartgate"): - url = f"https://{self._config_entry.unique_id}.isgaccess.com" return DeviceInfo( - configuration_url=url, + configuration_url=data.remoteaccess if data.remoteaccess else None, identifiers={(DOMAIN, str(self._config_entry.unique_id))}, name=self._config_entry.title, manufacturer=MANUFACTURER,