aioamazondevices 6.5.4__tar.gz → 6.5.5__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.4
3
+ Version: 6.5.5
4
4
  Summary: Python library to control Amazon devices
5
5
  License-Expression: Apache-2.0
6
6
  License-File: LICENSE
@@ -142,6 +142,15 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
142
142
  <sub><b>Flo</b></sub>
143
143
  </a>
144
144
  </td>
145
+ <td align="center">
146
+ <a href="https://github.com/francescolf">
147
+ <img src="https://avatars.githubusercontent.com/u/14892143?v=4" width="100;" alt="francescolf"/>
148
+ <br />
149
+ <sub><b>Francesco Lo Faro</b></sub>
150
+ </a>
151
+ </td>
152
+ </tr>
153
+ <tr>
145
154
  <td align="center">
146
155
  <a href="https://github.com/lchavezcuu">
147
156
  <img src="https://avatars.githubusercontent.com/u/22165856?v=4" width="100;" alt="lchavezcuu"/>
@@ -149,8 +158,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
149
158
  <sub><b>Luis Chavez</b></sub>
150
159
  </a>
151
160
  </td>
152
- </tr>
153
- <tr>
154
161
  <td align="center">
155
162
  <a href="https://github.com/maxmati">
156
163
  <img src="https://avatars.githubusercontent.com/u/509560?v=4" width="100;" alt="maxmati"/>
@@ -117,6 +117,15 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
117
117
  <sub><b>Flo</b></sub>
118
118
  </a>
119
119
  </td>
120
+ <td align="center">
121
+ <a href="https://github.com/francescolf">
122
+ <img src="https://avatars.githubusercontent.com/u/14892143?v=4" width="100;" alt="francescolf"/>
123
+ <br />
124
+ <sub><b>Francesco Lo Faro</b></sub>
125
+ </a>
126
+ </td>
127
+ </tr>
128
+ <tr>
120
129
  <td align="center">
121
130
  <a href="https://github.com/lchavezcuu">
122
131
  <img src="https://avatars.githubusercontent.com/u/22165856?v=4" width="100;" alt="lchavezcuu"/>
@@ -124,8 +133,6 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
124
133
  <sub><b>Luis Chavez</b></sub>
125
134
  </a>
126
135
  </td>
127
- </tr>
128
- <tr>
129
136
  <td align="center">
130
137
  <a href="https://github.com/maxmati">
131
138
  <img src="https://avatars.githubusercontent.com/u/509560?v=4" width="100;" alt="maxmati"/>
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "aioamazondevices"
3
- version = "6.5.4"
3
+ version = "6.5.5"
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.4"
3
+ __version__ = "6.5.5"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
@@ -613,6 +613,9 @@ class AmazonEchoApi:
613
613
  """Retrieve devices sensors states."""
614
614
  devices_sensors: dict[str, dict[str, AmazonDeviceSensor]] = {}
615
615
 
616
+ if not self._endpoints:
617
+ return {}
618
+
616
619
  endpoint_ids = list(self._endpoints.keys())
617
620
  payload = [
618
621
  {