Remove duplicate methods from Frtiz (#65956)

This commit is contained in:
Paulus Schoutsen 2022-02-06 14:38:26 -08:00 committed by GitHub
parent f4ebb03bab
commit f820806e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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."""