aioamazondevices 3.0.0__py3-none-any.whl → 3.0.2__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "3.0.0"
3
+ __version__ = "3.0.2"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
aioamazondevices/api.py CHANGED
@@ -122,7 +122,7 @@ class AmazonEchoApi:
122
122
  self._serial = self._serial_number()
123
123
  self._list_for_clusters: dict[str, str] = {}
124
124
 
125
- self.session: ClientSession
125
+ self.session: ClientSession | HttpxClientSession
126
126
 
127
127
  def _load_website_cookies(self) -> dict[str, str]:
128
128
  """Get website cookies, if avaliables."""
@@ -637,7 +637,7 @@ class AmazonEchoApi:
637
637
  )
638
638
  if not model_details:
639
639
  _LOGGER.warning(
640
- "Unknown device type '%s' for %s: please read https://github.com/chemelli74/aioamazondevices?tab=readme-ov-file#unknon-device-type",
640
+ "Unknown device type '%s' for %s: please read https://github.com/chemelli74/aioamazondevices?tab=readme-ov-file#unknown-device-type",
641
641
  device.device_type,
642
642
  device.account_name,
643
643
  )
aioamazondevices/const.py CHANGED
@@ -66,6 +66,18 @@ BIN_EXTENSION = ".bin"
66
66
  SPEAKER_GROUP_MODEL = "Speaker Group"
67
67
 
68
68
  DEVICE_TYPE_TO_MODEL: dict[str, dict[str, str | None]] = {
69
+ "A10A33FOX2NUBK": {
70
+ "model": "Echo Spot",
71
+ "hw_version": "Gen1",
72
+ },
73
+ "A11QM4H9HGV71H": {
74
+ "model": "Echo Show 5",
75
+ "hw_version": "Gen3",
76
+ },
77
+ "A1Q6UGEXJZWJQ0": {
78
+ "model": "Fire TV Stick",
79
+ "hw_version": "4K",
80
+ },
69
81
  "A1RABVCI4QCIKC": {
70
82
  "model": "Echo Dot",
71
83
  "hw_version": "Gen3",
@@ -78,10 +90,22 @@ DEVICE_TYPE_TO_MODEL: dict[str, dict[str, str | None]] = {
78
90
  "model": "Echo Dot Clock",
79
91
  "hw_version": "Gen4",
80
92
  },
93
+ "A2LWARUGJLBYEW": {
94
+ "model": "Fire TV Stick",
95
+ "hw_version": "Gen2",
96
+ },
97
+ "A2M4YX06LWP8WI": {
98
+ "model": "Fire Tablet",
99
+ "hw_version": "Gen1",
100
+ },
81
101
  "A2U21SRK4QGSE1": {
82
102
  "model": "Echo Dot Clock",
83
103
  "hw_version": "Gen4",
84
104
  },
105
+ "A303PJF6ISQ7IC": {
106
+ "model": "Echo Auto",
107
+ "hw_version": "Gen1",
108
+ },
85
109
  "A32DDESGESSHZA": {
86
110
  "model": "Echo Dot",
87
111
  "hw_version": "Gen3",
@@ -90,6 +114,10 @@ DEVICE_TYPE_TO_MODEL: dict[str, dict[str, str | None]] = {
90
114
  "model": "Echo Dot",
91
115
  "hw_version": "Gen3",
92
116
  },
117
+ "A3C9PE6TNYLTCH": {
118
+ "model": "Speaker Group",
119
+ "hw_version": "None",
120
+ },
93
121
  "A3RMGO6LYLH7YN": {
94
122
  "model": "Echo Dot",
95
123
  "hw_version": "Gen4",
@@ -98,28 +126,28 @@ DEVICE_TYPE_TO_MODEL: dict[str, dict[str, str | None]] = {
98
126
  "model": "Echo Dot",
99
127
  "hw_version": "Gen2",
100
128
  },
129
+ "A4ZP7ZC4PI6TO": {
130
+ "model": "Echo Show 3",
131
+ "hw_version": "Gen1",
132
+ },
101
133
  "A4ZXE0RM7LQ7A": {
102
134
  "model": "Echo Dot",
103
135
  "hw_version": "Gen5",
104
136
  },
105
- "AKNO1N0KSFN8L": {
137
+ "A7WXQPH584YP": {
106
138
  "model": "Echo Dot",
107
- "hw_version": "Gen1",
108
- },
109
- "A3C9PE6TNYLTCH": {
110
- "model": SPEAKER_GROUP_MODEL,
111
- "hw_version": None,
139
+ "hw_version": "Gen2",
112
140
  },
113
- "A1Q6UGEXJZWJQ0": {
114
- "model": "Fire TV Stick",
115
- "hw_version": "4K",
141
+ "AB72C64C86AW2": {
142
+ "model": "Echo Dot",
143
+ "hw_version": "Gen2",
116
144
  },
117
- "A10A33FOX2NUBK": {
118
- "model": "Echo Spot",
145
+ "AKNO1N0KSFN8L": {
146
+ "model": "Echo Dot",
119
147
  "hw_version": "Gen1",
120
148
  },
121
- "AB72C64C86AW2": {
122
- "model": "Echo Dot",
149
+ "G2A0V704840708AP": {
150
+ "model": "Echo Plus",
123
151
  "hw_version": "Gen2",
124
152
  },
125
153
  }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: aioamazondevices
3
- Version: 3.0.0
3
+ Version: 3.0.2
4
4
  Summary: Python library to control Amazon devices
5
5
  License: Apache-2.0
6
6
  Author: Simone Chemelli
@@ -0,0 +1,11 @@
1
+ aioamazondevices/__init__.py,sha256=zjA4W3vrHIpsxi9TL3jWP28CK-ZT7v4OvuHbU5YTrb0,276
2
+ aioamazondevices/api.py,sha256=tUaSzMqsGnWU59A9M7bzBFZU5KgN_Jp2Igx4zvRga6s,29451
3
+ aioamazondevices/const.py,sha256=wdzjLvZBJsP8b0bH26t5JuCiKdjA_YzpGrKFy--u2jQ,3601
4
+ aioamazondevices/exceptions.py,sha256=qK_Hak9pc-lC2FPW-0i4rYIwNpEOHMmA9Rii8F2lkQo,1260
5
+ aioamazondevices/httpx.py,sha256=DyuD2HD3GGGbBq65qcjPCCxeuSkALKzDAdrUSeZcRMM,4935
6
+ aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
+ aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
8
+ aioamazondevices-3.0.2.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
9
+ aioamazondevices-3.0.2.dist-info/METADATA,sha256=MohjIhW2nhJZWOLdhDuxMj5aK8Rb6BiTiH_1lburYl8,5447
10
+ aioamazondevices-3.0.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
11
+ aioamazondevices-3.0.2.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- aioamazondevices/__init__.py,sha256=w--dGJpyM2tTVK2gZNiz9Wks6jevJxGQMl_yv0HjXmA,276
2
- aioamazondevices/api.py,sha256=dnWki0AqfhajnmQHBuuQC4UxfYAFRmq5Rlv9AtrkW1A,29429
3
- aioamazondevices/const.py,sha256=3G3k6Q0Yrs1GaZUN-JsN3NkXhiyqQaBLWdMDHPxJe1I,2958
4
- aioamazondevices/exceptions.py,sha256=qK_Hak9pc-lC2FPW-0i4rYIwNpEOHMmA9Rii8F2lkQo,1260
5
- aioamazondevices/httpx.py,sha256=DyuD2HD3GGGbBq65qcjPCCxeuSkALKzDAdrUSeZcRMM,4935
6
- aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
8
- aioamazondevices-3.0.0.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
9
- aioamazondevices-3.0.0.dist-info/METADATA,sha256=-fpH2cJUCtXfZtjFmQhdpBvrEdKfHVPZtGuGC2Gffck,5447
10
- aioamazondevices-3.0.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
11
- aioamazondevices-3.0.0.dist-info/RECORD,,