Skip to content

Releases: rospogrigio/localtuya

v3.0.3: fixes for HACS integration

19 Oct 20:48
Compare
Choose a tag to compare

Other fixes for HACS integration. No need to upgrade: if you are at v3.0.1 just don't upgrade.

v3.0.2: minor release for HACS integration

19 Oct 15:22
740e7ef
Compare
Choose a tag to compare

THIS RELEASE IS NOT WORKING.
PLEASE REMAIN AT v3.0.1.

v3.0.1: Connection bugfixes

19 Oct 08:59
Compare
Choose a tag to compare

Several minor connection bugfixes:

  • handled responses without a return code
  • fixed support for unencrypted clients
  • fixed bug when connection fails

v3.0.0: introduction of ASYNCIO and push updates!!

16 Oct 12:34
Compare
Choose a tag to compare

Breaking change in this release!!! v.3.0.0 introduces:

  • asyncio in communication, with push updates: now status changes are immediate (also from physical buttons!)
  • persistent connection, instead of open-close connection; NOTE: some devices don't support multiple connections, so it will not be possible to use Tuya app together with HA for those devices
  • (minor) brightness range remapping for light platform

Enjoy!

v2.0.1: Fixed attributes' DPs and introduced reloading

05 Oct 07:50
Compare
Choose a tag to compare

This release introduces:

  1. a fix for 0d-type devices that need optional DPs to be requested (e.g., voltage/current attributes for switches, setPos/getPos DPs for covers...)
  2. the service localtuya.reload that can be invoked, and re-reads YAML configuration and restarts all devices

v2.0.0: Total refactoring

02 Oct 12:42
Compare
Choose a tag to compare

This v.2.0.0 is a braking change, which contains a lot of improvements:

  • faster communication and status update
  • revised YAML file structure
  • config flow support
  • introduction of sensor and fan platforms

Before upgrading, read carefully the https://github.com/rospogrigio/localtuya-homeassistant/blob/master/README.md file!
YAML config files must be re-written completely!

v1.2.0: autodetection of device type for status commands

11 Sep 20:57
eca400f
Compare
Choose a tag to compare

Introducing pytuya v7.1.0: this library revision performs an autodetection in order to identify if the device requires the 0a or 0d command for status requests. The previous approach (devices with 20-chars id require 0a, 22-chars require 0d) has proven to be inaccurate.

v1.1.1: reduced logging and caching timeout, removed unused dps

07 Sep 10:12
Compare
Choose a tag to compare

v1.1.1:
Reduced logging and removed unnecessary dps for covers.
Reduced caching timeout to 15s for covers and lights (the same used for switches).

v1.1.0: introduced support for fan; cover commands customizable

04 Sep 20:48
181ba36
Compare
Choose a tag to compare

v1.1.0:
Introduced support for fan devices, merging from fancygaphtrn (thanks!)
Introduced customizable commands for cover devices and improved README readability, merging from andrewmeepos (thanks!)

v1.0.3: unified dev_type (device20 or device22) handling for all devices

03 Sep 19:56
baa6f78
Compare
Choose a tag to compare

Introduced pytuya 7.0.9: Unified dev_type (device20 or device22) handling for all devices; until now, only switch devices handled it correctly.