aioamazondevices 1.4.0__tar.gz → 1.4.1__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: aioamazondevices
3
- Version: 1.4.0
3
+ Version: 1.4.1
4
4
  Summary: Python library to control Amazon devices
5
5
  License: Apache-2.0
6
6
  Author: Simone Chemelli
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "aioamazondevices"
3
- version = "1.4.0"
3
+ version = "1.4.1"
4
4
  description = "Python library to control Amazon devices"
5
5
  authors = ["Simone Chemelli <simone.chemelli@gmail.com>"]
6
6
  license = "Apache-2.0"
@@ -1,6 +1,6 @@
1
1
  """aioamazondevices library."""
2
2
 
3
- __version__ = "1.4.0"
3
+ __version__ = "1.4.1"
4
4
 
5
5
 
6
6
  from .api import AmazonDevice, AmazonEchoApi
@@ -312,7 +312,7 @@ class AmazonEchoApi:
312
312
 
313
313
  _LOGGER.warning("Saving data to %s", fullpath)
314
314
 
315
- with Path.open(fullpath, "w+") as file:
315
+ with Path.open(fullpath, mode="w", encoding="utf-8") as file:
316
316
  file.write(data)
317
317
  file.write("\n")
318
318
 
@@ -74,4 +74,6 @@ DEVICE_TYPE_TO_MODEL = {
74
74
  "A3S5BH2HU6VAYF": "Echo Dot (Gen2)",
75
75
  "A4ZXE0RM7LQ7A": "Echo Dot (Gen5)",
76
76
  "AKNO1N0KSFN8L": "Echo Dot (Gen1)",
77
+ "A3C9PE6TNYLTCH": "Speaker Group",
78
+ "A1Q6UGEXJZWJQ0": "Fire TV Stick 4K",
77
79
  }