From f5b2cf78e054103856ba0db250b9561f1da07639 Mon Sep 17 00:00:00 2001 From: "Jason A. Cox" Date: Tue, 22 Nov 2022 11:58:06 -0800 Subject: [PATCH] Prep for 1.8.0 release --- RELEASE.md | 16 ++++++++++++++++ tinytuya/core.py | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/RELEASE.md b/RELEASE.md index 52b6b381..0b4a6e12 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,21 @@ # RELEASE NOTES +## v1.8.0 - Expanded Cloud Functions + +* PyPI 1.8.0 +* Add AtorchTemperatureController by @Poil in https://github.com/jasonacox/tinytuya/pull/213 +* Add new Cloud functions to fetch device logs from TuyaCloud (`getdevicelog(id)`), make generic cloud request with custom URL and params (`cloudrequest(url, ...)`) and fetch connection status (`getconnectstatus(id)`) by @uzlonewolf in https://github.com/jasonacox/tinytuya/pull/219 +* Update README for new Cloud functions, and tighter deviceid error checking by @uzlonewolf in https://github.com/jasonacox/tinytuya/pull/220 + +```python +import tinytuya +import json + +c = tinytuya.Cloud() +r = c.getdevicelog( '00112233445566778899' ) +print( json.dumps(r, indent=2) ) +``` + ## v1.7.2 - Fix Contrib Devices Bug * PyPI 1.7.2 diff --git a/tinytuya/core.py b/tinytuya/core.py index f278ef0d..028bde50 100644 --- a/tinytuya/core.py +++ b/tinytuya/core.py @@ -83,7 +83,7 @@ # Colorama terminal color capability for all platforms init() -version_tuple = (1, 7, 2) +version_tuple = (1, 8, 0) version = __version__ = "%d.%d.%d" % version_tuple __author__ = "jasonacox"