aioamazondevices 6.5.5__tar.gz → 6.5.6__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.

Potentially problematic release.


This version of aioamazondevices might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aioamazondevices
3
- Version: 6.5.5
3
+ Version: 6.5.6
4
4
  Summary: Python library to control Amazon devices
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "aioamazondevices"
3
- version = "6.5.5"
3
+ version = "6.5.6"
4
4
  requires-python = ">=3.12"
5
5
  description = "Python library to control Amazon devices"
6
6
  authors = [
@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "6.5.5"
3
+ __version__ = "6.5.6"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
@@ -387,6 +387,8 @@ class AmazonEchoApi:
387
387
  headers = DEFAULT_HEADERS.copy()
388
388
  headers.update({"User-Agent": REQUEST_AGENT[agent]})
389
389
  headers.update({"Accept-Language": self._language})
390
+ headers.update({"x-amzn-client": "aioamazondevices"})
391
+ headers.update({"x-amzn-build-version": __version__})
390
392
 
391
393
  if self._csrf_cookie:
392
394
  csrf = {CSRF_COOKIE: self._csrf_cookie}
@@ -90,6 +90,12 @@ SENSORS: dict[str, dict[str, str | None]] = {
90
90
  "subkey": "value",
91
91
  "scale": None,
92
92
  },
93
+ "connectivity": {
94
+ "name": "reachability",
95
+ "key": "reachabilityStatusValue",
96
+ "subkey": None,
97
+ "scale": None,
98
+ },
93
99
  }
94
100
 
95
101
  ALEXA_INFO_SKILLS = [