aioamazondevices 6.4.1__py3-none-any.whl → 6.4.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.
Potentially problematic release.
This version of aioamazondevices might be problematic. Click here for more details.
- aioamazondevices/__init__.py +1 -1
- aioamazondevices/api.py +2 -1
- {aioamazondevices-6.4.1.dist-info → aioamazondevices-6.4.2.dist-info}/METADATA +1 -1
- {aioamazondevices-6.4.1.dist-info → aioamazondevices-6.4.2.dist-info}/RECORD +6 -6
- {aioamazondevices-6.4.1.dist-info → aioamazondevices-6.4.2.dist-info}/WHEEL +0 -0
- {aioamazondevices-6.4.1.dist-info → aioamazondevices-6.4.2.dist-info}/licenses/LICENSE +0 -0
aioamazondevices/__init__.py
CHANGED
aioamazondevices/api.py
CHANGED
|
@@ -667,7 +667,8 @@ class AmazonEchoApi:
|
|
|
667
667
|
value: str | int | float = "n/a"
|
|
668
668
|
scale: str | None = None
|
|
669
669
|
|
|
670
|
-
|
|
670
|
+
# "error" can be None, missing, or a dict
|
|
671
|
+
api_error = feature_property.get("error") or {}
|
|
671
672
|
error = bool(api_error)
|
|
672
673
|
error_type = api_error.get("type")
|
|
673
674
|
error_msg = api_error.get("message")
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
aioamazondevices/__init__.py,sha256=
|
|
2
|
-
aioamazondevices/api.py,sha256=
|
|
1
|
+
aioamazondevices/__init__.py,sha256=ECul7evV__nDMl-qpUXehkdk8WYdb0rg9V4iZXaVsWQ,276
|
|
2
|
+
aioamazondevices/api.py,sha256=n4UGA0WErnLBehpus3avG8jU1A2lIqlJYyK_AJt0l5E,50066
|
|
3
3
|
aioamazondevices/const.py,sha256=A0aMbjPgIOAsSL20vjhAVkLBsi9QfkvL-1YAOEEa85I,11474
|
|
4
4
|
aioamazondevices/exceptions.py,sha256=gRYrxNAJnrV6uRuMx5e76VMvtNKyceXd09q84pDBBrI,638
|
|
5
5
|
aioamazondevices/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
aioamazondevices/query.py,sha256=SKn-fXFUnXnCvmKd6IvAGdkFL7sBzhYBEAZ0aZ2ez9E,1800
|
|
7
7
|
aioamazondevices/sounds.py,sha256=CXMDk-KoKVFxBdVAw3MeOClqgpzcVDxvQhFOJp7qX-Y,1896
|
|
8
8
|
aioamazondevices/utils.py,sha256=RzuKRhnq_8ymCoJMoQJ2vBYyuew06RSWpqQWmqdNczE,2019
|
|
9
|
-
aioamazondevices-6.4.
|
|
10
|
-
aioamazondevices-6.4.
|
|
11
|
-
aioamazondevices-6.4.
|
|
12
|
-
aioamazondevices-6.4.
|
|
9
|
+
aioamazondevices-6.4.2.dist-info/METADATA,sha256=jQOLDdNi3yIWctP3SaFdKxnozkwALCBffJYI7uqEq0c,7648
|
|
10
|
+
aioamazondevices-6.4.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
11
|
+
aioamazondevices-6.4.2.dist-info/licenses/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
|
|
12
|
+
aioamazondevices-6.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|