aioamazondevices 3.0.9__tar.gz → 3.0.10__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-3.0.9 → aioamazondevices-3.0.10}/PKG-INFO +1 -1
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/pyproject.toml +1 -1
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/src/aioamazondevices/__init__.py +1 -1
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/src/aioamazondevices/api.py +2 -1
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/src/aioamazondevices/const.py +5 -0
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/LICENSE +0 -0
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/README.md +0 -0
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/src/aioamazondevices/exceptions.py +0 -0
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/src/aioamazondevices/py.typed +0 -0
- {aioamazondevices-3.0.9 → aioamazondevices-3.0.10}/src/aioamazondevices/sounds.py +0 -0
@@ -34,6 +34,7 @@ from .const import (
|
|
34
34
|
CSRF_COOKIE,
|
35
35
|
DEFAULT_ASSOC_HANDLE,
|
36
36
|
DEFAULT_HEADERS,
|
37
|
+
DEVICE_TO_IGNORE,
|
37
38
|
DEVICE_TYPE_TO_MODEL,
|
38
39
|
DOMAIN_BY_ISO3166_COUNTRY,
|
39
40
|
HTML_EXTENSION,
|
@@ -610,7 +611,7 @@ class AmazonEchoApi:
|
|
610
611
|
# Remove stale, orphaned and virtual devices
|
611
612
|
if (
|
612
613
|
NODE_DEVICES not in device
|
613
|
-
or devices_node.get("deviceType")
|
614
|
+
or devices_node.get("deviceType") in DEVICE_TO_IGNORE
|
614
615
|
):
|
615
616
|
continue
|
616
617
|
|
@@ -67,6 +67,11 @@ BIN_EXTENSION = ".bin"
|
|
67
67
|
|
68
68
|
SPEAKER_GROUP_MODEL = "Speaker Group"
|
69
69
|
|
70
|
+
DEVICE_TO_IGNORE: list[str] = [
|
71
|
+
AMAZON_DEVICE_TYPE, # Alexa App for Mobile
|
72
|
+
"A1RTAM01W29CUP", # Alexa App for PC
|
73
|
+
]
|
74
|
+
|
70
75
|
DEVICE_TYPE_TO_MODEL: dict[str, dict[str, str | None]] = {
|
71
76
|
"A10A33FOX2NUBK": {
|
72
77
|
"model": "Echo Spot",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|