Upgrade huawei-lte-api to 1.7.3 (#104613)

This commit is contained in:
Ville Skyttä 2023-11-27 23:05:46 +02:00 committed by GitHub
parent fd5cda4ec6
commit e594c19c1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

View File

@ -307,10 +307,11 @@ class Router:
"""Log out router session."""
try:
self.client.user.logout()
except ResponseErrorNotSupportedException:
_LOGGER.debug("Logout not supported by device", exc_info=True)
except ResponseErrorLoginRequiredException:
_LOGGER.debug("Logout not supported when not logged in", exc_info=True)
except (
ResponseErrorLoginRequiredException,
ResponseErrorNotSupportedException,
):
pass # Ok, normal, nothing to do
except Exception: # pylint: disable=broad-except
_LOGGER.warning("Logout error", exc_info=True)

View File

@ -7,7 +7,7 @@
"iot_class": "local_polling",
"loggers": ["huawei_lte_api.Session"],
"requirements": [
"huawei-lte-api==1.6.11",
"huawei-lte-api==1.7.3",
"stringcase==1.2.0",
"url-normalize==1.4.3"
],

View File

@ -1036,7 +1036,7 @@ horimote==0.4.1
httplib2==0.20.4
# homeassistant.components.huawei_lte
huawei-lte-api==1.6.11
huawei-lte-api==1.7.3
# homeassistant.components.hyperion
hyperion-py==0.7.5

View File

@ -820,7 +820,7 @@ homepluscontrol==0.0.5
httplib2==0.20.4
# homeassistant.components.huawei_lte
huawei-lte-api==1.6.11
huawei-lte-api==1.7.3
# homeassistant.components.hyperion
hyperion-py==0.7.5