From f820806e3cb599e3cf895cba5449f655fb2323f0 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sun, 6 Feb 2022 14:38:26 -0800 Subject: [PATCH] Remove duplicate methods from Frtiz (#65956) --- homeassistant/components/fritz/common.py | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/homeassistant/components/fritz/common.py b/homeassistant/components/fritz/common.py index 8786a09b215..79acc54b9b2 100644 --- a/homeassistant/components/fritz/common.py +++ b/homeassistant/components/fritz/common.py @@ -593,13 +593,6 @@ class AvmWrapper(FritzBoxTools): partial(self.get_wan_link_properties) ) - async def async_get_wan_link_properties(self) -> dict[str, Any]: - """Call WANCommonInterfaceConfig service.""" - - return await self.hass.async_add_executor_job( - partial(self.get_wan_link_properties) - ) - async def async_get_port_mapping(self, con_type: str, index: int) -> dict[str, Any]: """Call GetGenericPortMappingEntry action.""" @@ -704,13 +697,6 @@ class AvmWrapper(FritzBoxTools): "WANCommonInterfaceConfig", "1", "GetCommonLinkProperties" ) - def get_wan_link_properties(self) -> dict[str, Any]: - """Call WANCommonInterfaceConfig service.""" - - return self._service_call_action( - "WANCommonInterfaceConfig", "1", "GetCommonLinkProperties" - ) - def set_wlan_configuration(self, index: int, turn_on: bool) -> dict[str, Any]: """Call SetEnable action from WLANConfiguration service."""