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

pull/103388/head^2
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.""" """Log out router session."""
try: try:
self.client.user.logout() self.client.user.logout()
except ResponseErrorNotSupportedException: except (
_LOGGER.debug("Logout not supported by device", exc_info=True) ResponseErrorLoginRequiredException,
except ResponseErrorLoginRequiredException: ResponseErrorNotSupportedException,
_LOGGER.debug("Logout not supported when not logged in", exc_info=True) ):
pass # Ok, normal, nothing to do
except Exception: # pylint: disable=broad-except except Exception: # pylint: disable=broad-except
_LOGGER.warning("Logout error", exc_info=True) _LOGGER.warning("Logout error", exc_info=True)

View File

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

View File

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

View File

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