diff --git a/speedport/api.py b/speedport/api.py index 0290d5c..8ff6c08 100644 --- a/speedport/api.py +++ b/speedport/api.py @@ -171,6 +171,15 @@ async def reconnect(self): "html/content/internet/con_ipdata.html", ) + @need_auth + async def ex5g_restore(self): + _LOGGER.info("Restore 5G extension...") + await self.api.post( + "data/LTE.json", + {"restore": "true"}, + "html/content/internet/lte_firmware.html", + ) + @need_auth async def reboot(self): _LOGGER.info("Reboot speedport...") diff --git a/speedport/speedport.py b/speedport/speedport.py index 841ea43..950e4c0 100644 --- a/speedport/speedport.py +++ b/speedport/speedport.py @@ -107,6 +107,9 @@ async def wps_on(self): async def reconnect(self): await self.api.reconnect() + async def ex5g_restore(self): + await self.api.ex5g_restore() + async def reboot(self): await self.api.reboot()