aioamazondevices 3.1.1__py3-none-any.whl → 3.1.3__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.
- aioamazondevices/__init__.py +1 -1
- aioamazondevices/api.py +4 -1
- {aioamazondevices-3.1.1.dist-info → aioamazondevices-3.1.3.dist-info}/METADATA +1 -1
- aioamazondevices-3.1.3.dist-info/RECORD +10 -0
- aioamazondevices-3.1.1.dist-info/RECORD +0 -10
- {aioamazondevices-3.1.1.dist-info → aioamazondevices-3.1.3.dist-info}/LICENSE +0 -0
- {aioamazondevices-3.1.1.dist-info → aioamazondevices-3.1.3.dist-info}/WHEEL +0 -0
aioamazondevices/__init__.py
CHANGED
aioamazondevices/api.py
CHANGED
@@ -538,7 +538,9 @@ class AmazonEchoApi:
|
|
538
538
|
serial_number = device_identifier["dmsDeviceSerialNumber"]
|
539
539
|
|
540
540
|
# Add identifier information to the device
|
541
|
-
|
541
|
+
# but only if the device was previously found
|
542
|
+
if serial_number in self._devices:
|
543
|
+
self._devices[serial_number] |= {NODE_IDENTIFIER: identifier}
|
542
544
|
|
543
545
|
# Add to entity IDs list for sensor retrieval
|
544
546
|
entity_ids_list.append({"entityId": entity_id, "entityType": "ENTITY"})
|
@@ -709,6 +711,7 @@ class AmazonEchoApi:
|
|
709
711
|
identifier_node = device.get(NODE_IDENTIFIER, {})
|
710
712
|
|
711
713
|
# Add sensors
|
714
|
+
sensors = {}
|
712
715
|
if identifier_node:
|
713
716
|
for _device_id, _device_sensors in devices_sensors.items():
|
714
717
|
if _device_id == identifier_node["entityId"]:
|
@@ -0,0 +1,10 @@
|
|
1
|
+
aioamazondevices/__init__.py,sha256=fnOgibMLX830W4WG9ugY6yfTaULiPRjKE_w9wLUTRAw,276
|
2
|
+
aioamazondevices/api.py,sha256=ebUaF_--DbaxkxCuUF7AwgXhafRz0Cse6CFCWpUoE3s,35296
|
3
|
+
aioamazondevices/const.py,sha256=DzMYrcChuuz2uxaVbLVdwV3uZB1Db_-33YOPPFDYYVU,6181
|
4
|
+
aioamazondevices/exceptions.py,sha256=nPbR928NryTbnxm5QwQpCSpRItvZ3PRYKynUUxH-_v4,1345
|
5
|
+
aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
+
aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
|
7
|
+
aioamazondevices-3.1.3.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
|
8
|
+
aioamazondevices-3.1.3.dist-info/METADATA,sha256=ZfqBddF0PRryV8qsZkqjDJfrJ82mRaFY4iqqmR8Eknk,5546
|
9
|
+
aioamazondevices-3.1.3.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
10
|
+
aioamazondevices-3.1.3.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
aioamazondevices/__init__.py,sha256=c12OuL7f3dT235WVQ8T1bgMMlc3HGkq8ouiSdLB5pVI,276
|
2
|
-
aioamazondevices/api.py,sha256=5usfnZtNvzMiGvb4XcQ6waqoc6FJcLwLGIzBUfcV3Nk,35154
|
3
|
-
aioamazondevices/const.py,sha256=DzMYrcChuuz2uxaVbLVdwV3uZB1Db_-33YOPPFDYYVU,6181
|
4
|
-
aioamazondevices/exceptions.py,sha256=nPbR928NryTbnxm5QwQpCSpRItvZ3PRYKynUUxH-_v4,1345
|
5
|
-
aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
6
|
-
aioamazondevices/sounds.py,sha256=01pVCDFIuhrLypXInw4JNuHsC6zjMLsuKocet1R6we8,13409
|
7
|
-
aioamazondevices-3.1.1.dist-info/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
|
8
|
-
aioamazondevices-3.1.1.dist-info/METADATA,sha256=xf6vS2ibix8CMcmRtDhxUnb6Crvd6DnOh1ZxHKuzsTk,5546
|
9
|
-
aioamazondevices-3.1.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
10
|
-
aioamazondevices-3.1.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|