aioamazondevices 6.4.1__tar.gz → 6.4.2__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-6.4.1 → aioamazondevices-6.4.2}/PKG-INFO +1 -1
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/pyproject.toml +1 -1
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/__init__.py +1 -1
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/api.py +2 -1
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/LICENSE +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/README.md +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/const.py +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/exceptions.py +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/py.typed +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/query.py +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/sounds.py +0 -0
- {aioamazondevices-6.4.1 → aioamazondevices-6.4.2}/src/aioamazondevices/utils.py +0 -0
|
@@ -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")
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|