python-aidot 0.2.7__tar.gz → 0.2.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python_aidot-0.2.7/python_aidot.egg-info → python_aidot-0.2.9}/PKG-INFO +1 -1
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/client.py +3 -2
- {python_aidot-0.2.7 → python_aidot-0.2.9/python_aidot.egg-info}/PKG-INFO +1 -1
- {python_aidot-0.2.7 → python_aidot-0.2.9}/setup.py +1 -1
- {python_aidot-0.2.7 → python_aidot-0.2.9}/LICENSE +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/README.md +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/__init__.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/aes_utils.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/const.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/discover.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/exceptions.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/lan.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/login_const.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/login_control.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/aidot/login_data.py +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/python_aidot.egg-info/SOURCES.txt +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/python_aidot.egg-info/dependency_links.txt +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/python_aidot.egg-info/requires.txt +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/python_aidot.egg-info/top_level.txt +0 -0
- {python_aidot-0.2.7 → python_aidot-0.2.9}/setup.cfg +0 -0
|
@@ -25,6 +25,7 @@ from .const import (
|
|
|
25
25
|
CONF_PASSWORD,
|
|
26
26
|
CONF_CODE,
|
|
27
27
|
CONF_TOKEN,
|
|
28
|
+
CONF_DEVICE_LIST,
|
|
28
29
|
ServerErrorCode
|
|
29
30
|
)
|
|
30
31
|
from .exceptions import AidotAuthFailed,AidotUserOrPassIncorrect
|
|
@@ -116,7 +117,7 @@ class AidotClient:
|
|
|
116
117
|
_LOGGER.info(f"async_post_login ClientError {e}")
|
|
117
118
|
if response_data[CONF_CODE] == ServerErrorCode.USER_PWD_INCORRECT:
|
|
118
119
|
raise AidotUserOrPassIncorrect
|
|
119
|
-
|
|
120
|
+
raise Exception
|
|
120
121
|
|
|
121
122
|
async def async_refresh_token(self):
|
|
122
123
|
url = f"{self._base_url}/users/refreshToken"
|
|
@@ -207,4 +208,4 @@ class AidotClient:
|
|
|
207
208
|
device[CONF_PRODUCT] = product
|
|
208
209
|
except Exception as e:
|
|
209
210
|
raise e
|
|
210
|
-
return final_device_list
|
|
211
|
+
return {CONF_DEVICE_LIST:final_device_list}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|