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.

@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "6.4.1"
3
+ __version__ = "6.4.2"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
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
- api_error = feature_property.get("error", {})
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aioamazondevices
3
- Version: 6.4.1
3
+ Version: 6.4.2
4
4
  Summary: Python library to control Amazon devices
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -1,12 +1,12 @@
1
- aioamazondevices/__init__.py,sha256=W1DlpFQ7YzCz9wmCqo41TbshbOrFmGh0FlSjOpVXN70,276
2
- aioamazondevices/api.py,sha256=fwy2bPbcdYqy4_1ZXxU6IYnlZkH_NAVe52ij9yFB6R4,50006
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.1.dist-info/METADATA,sha256=EwLXYMIHymMWkqRnCytEvokAr0E6FyFWb-R_1CbzZdA,7648
10
- aioamazondevices-6.4.1.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
11
- aioamazondevices-6.4.1.dist-info/licenses/LICENSE,sha256=sS48k5sp9bFV-NSHDfAJuTZZ_-AP9ZDqUzQ9sffGlsg,11346
12
- aioamazondevices-6.4.1.dist-info/RECORD,,
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,,