aioamazondevices 0.10.0__tar.gz → 0.11.0__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.
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/PKG-INFO +1 -1
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/pyproject.toml +1 -1
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/src/aioamazondevices/__init__.py +2 -2
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/src/aioamazondevices/api.py +1 -2
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/src/aioamazondevices/const.py +13 -0
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/LICENSE +0 -0
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/README.md +0 -0
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/src/aioamazondevices/auth.py +0 -0
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/src/aioamazondevices/exceptions.py +0 -0
- {aioamazondevices-0.10.0 → aioamazondevices-0.11.0}/src/aioamazondevices/py.typed +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
"""aioamazondevices library."""
|
2
2
|
|
3
|
-
__version__ = "0.
|
3
|
+
__version__ = "0.11.0"
|
4
4
|
|
5
5
|
|
6
6
|
from .api import AmazonDevice, AmazonEchoApi
|
@@ -12,6 +12,6 @@ from .exceptions import (
|
|
12
12
|
__all__ = [
|
13
13
|
"AmazonDevice",
|
14
14
|
"AmazonEchoApi",
|
15
|
-
"CannotConnect",
|
16
15
|
"CannotAuthenticate",
|
16
|
+
"CannotConnect",
|
17
17
|
]
|
@@ -513,8 +513,7 @@ class AmazonEchoApi:
|
|
513
513
|
|
514
514
|
# Remove stale, orphaned and virtual devices
|
515
515
|
final_devices_list: dict[str, Any] = devices.copy()
|
516
|
-
for serial in devices:
|
517
|
-
device = devices[serial]
|
516
|
+
for serial, device in devices.items():
|
518
517
|
if (
|
519
518
|
DEVICES not in device
|
520
519
|
or device[DEVICES].get("deviceType") == AMAZON_DEVICE_TYPE
|
@@ -56,3 +56,16 @@ URI_QUERIES = {
|
|
56
56
|
SAVE_PATH = "out"
|
57
57
|
HTML_EXTENSION = ".html"
|
58
58
|
JSON_EXTENSION = ".json"
|
59
|
+
|
60
|
+
DEVICE_TYPE_TO_MODEL = {
|
61
|
+
"A1RABVCI4QCIKC": "Echo Dot (Gen3)",
|
62
|
+
"A2DS1Q2TPDJ48U": "Echo Dot Clock (Gen5)",
|
63
|
+
"A2H4LV5GIZ1JFT": "Echo Dot Clock (Gen4)",
|
64
|
+
"A2U21SRK4QGSE1": "Echo Dot Clock (Gen4)",
|
65
|
+
"A32DDESGESSHZA": "Echo Dot (Gen3)",
|
66
|
+
"A32DOYMUN6DTXA": "Echo Dot (Gen3)",
|
67
|
+
"A3RMGO6LYLH7YN": "Echo Dot (Gen4)",
|
68
|
+
"A3S5BH2HU6VAYF": "Echo Dot (Gen2)",
|
69
|
+
"A4ZXE0RM7LQ7A": "Echo Dot (Gen5)",
|
70
|
+
"AKNO1N0KSFN8L": "Echo Dot (Gen1)",
|
71
|
+
}
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|