Skip to content

Commit 7ca1b53

Browse files
committed
Bump version to 1.17.4 and add Release notes
1 parent 7c64b31 commit 7ca1b53

File tree

3 files changed

+15
-2
lines changed

3 files changed

+15
-2
lines changed

RELEASE.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# RELEASE NOTES
22

3+
## 1.17.4
4+
5+
- Cloud: Add `configFile` option to the Cloud constructor, allowing users to specify the config file location (default remains 'tinytuya.json') by @blackw1ng in https://github.com/jasonacox/tinytuya/pull/640
6+
37
## v1.17.3 - Colorama Optional
48

59
* This update makes the colorama dependency optional for the tinytuya library, allowing it to function without colorama while gracefully disabling color output. This will help with memory lor dependency limited platforms. Update by @uzlonewolf in https://github.com/jasonacox/tinytuya/pull/637.

tinytuya/Cloud.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,16 @@ def __init__(self, apiRegion=None, apiKey=None, apiSecret=None, apiDeviceID=None
5252
Tuya Cloud IoT Platform Access
5353
5454
Args:
55-
initial_token: The auth token from a previous run. It will be refreshed if it has expired
55+
apiRegion (str, optional): Tuya API region code (e.g., 'us', 'eu', 'cn', 'in').
56+
apiKey (str, optional): Tuya Cloud API key.
57+
apiSecret (str, optional): Tuya Cloud API secret.
58+
apiDeviceID (str, optional): Device ID for initial API calls.
59+
new_sign_algorithm (bool, optional): Use new sign algorithm for API requests. Default: True.
60+
initial_token (str, optional): The auth token from a previous run. It will be refreshed if expired.
61+
configFile (str, optional): Path to the config file to use for credentials. Default: 'tinytuya.json'.
62+
**extrakw: Additional keyword arguments for future compatibility.
63+
64+
If apiKey or apiSecret are not provided, credentials will be loaded from the config file.
5665
5766
Playload Construction - Header Data:
5867
Parameter Type Required Description

tinytuya/core/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
if HAVE_COLORAMA:
102102
init()
103103

104-
version_tuple = (1, 17, 3) # Major, Minor, Patch
104+
version_tuple = (1, 17, 4) # Major, Minor, Patch
105105
version = __version__ = "%d.%d.%d" % version_tuple
106106
__author__ = "jasonacox"
107107

0 commit comments

Comments
 (0)