Skip to content

Releases: rospogrigio/localtuya

Introduced Cloud support

14 Jun 09:24
cada522
Compare
Choose a tag to compare

Major change in Localtuya. Here's what's new:

  • one single integration instead of one integration for each device
  • introduced Cloud API connection (for local key retrieval)
  • auto-update of local keys (in case of re-pairing of a device)
  • introduced diagnostics, both for the Integration and for each device
  • removed YAML configuration (since it's being deprecated almost everywhere)

Note: read the README carefully, and make a backup of your HA instance before upgrading. In particular, be aware that YAML configuration will not be supported after the upgrade: it will be automatically migrated to config entry, and YAML configuration should be deleted at that point, since it will be ignored by the Integration.
Thanks to @CloCkWeRX, @EnsignR and @racu10 for the feedbacks and suggestions.
Enjoy!

Fix out-of-range color temperatures

11 Apr 10:32
73bc046
Compare
Choose a tag to compare
  • Fix out-of-range color temperatures
  • introduced BR portuguese translation
  • minor fixes and typos
  • works with HA 2022.4

Introduced climate and vacuum platforms

24 Jan 10:11
2688a17
Compare
Choose a tag to compare
  • Introduced climate platform (thank you @vmartinv !)
  • Introduced vacuumplatform (thank you @rikman122 !)

Improved update of power/current data and more

02 Jan 12:37
e8529d3
Compare
Choose a tag to compare

Big release!

  • Introduced a mechanism to force the update of power consumption data, with an optional scan_interval parameter. Thank you @vmartinv, @jeremysherriff and @AdmiralStipe for the great dev and testing work
  • Introduced Number and Select platform, thank you @sibowler
  • Introduced an optional variable to reverse color temperature in Light platform, thanks to @isaadeh
  • renamed deprecated device_state_attributes method, thanks to @jsBlackBelt

Fix major sync issue caused by a race condition

12 Dec 14:57
Compare
Choose a tag to compare

This release fixes major sync issue on mostly static entities caused by a race condition: thank you @regevbr.

Introduced fix on cover state

01 Oct 09:05
Compare
Choose a tag to compare

Introduced 2 fixes in the cover integration:

  • the timed mode should report the opened/closed state
  • fix of the state inference
    Thanks go to @regevbr for his contribution!

v3.2.2: introduced periodic connection retries

08 Mar 08:20
66fdc16
Compare
Choose a tag to compare

Just a stability fix: introduced a periodic (every 60 seconds) check and reconnect if the connection has dropped (PR #288).

v3.2.1: added "version" field in manifest.json

04 Mar 10:25
9a240bc
Compare
Choose a tag to compare

No new features or bugfixes in this release, just adding the "version" field in manifest.json, as required since HA 2021.3.0 .

v3.2.0: End-of-the-year release

30 Dec 22:05
9bfeb10
Compare
Choose a tag to compare
  • BREAKING CHANGE for the "fake" positioning mode for cover platform (#213):
    • the option name has been changed from the ugly "fake" to "timed": PLEASE NOTE that you have to change your YAML config file, or recreate your Integrations if you are using this positioning mode;
    • now the slider actually reflects the actual position, instead of remaining at 50%
    • the last position is now stored in HomeAssistant internal status, and is retrieved when restarting HA
    • after a full opening time elapses, the cover stops (instead of waiting for the internal timeout that some devices have)
  • Introduced support to adding and removing entities to existing devices (#191)
  • Reduced heartbeat interval which should reduce amount of "heartbeat failed" errors (#239)
  • Fixed improper closing in config flow that could result in "connection resets" after adding a new device (#237)
  • Added support for passive devices, I.e. connection attempts are now made when discovery messages are received. This is a breaking change as these messages are now mandatory for the integration to function. Ensure UDP broadcasts for port 6666 and 6667 are forwarded to Home Assistant. (#171)
  • Introduced localtuya.set_dp service (#236)
  • Properly close discovery listeners which fixes "Address used for discovery is already in use" when trying to add a second device (#225)
  • Some fixes and improvements in light platform

As always... ENJOY!

v3.1.0: first release after HACS integration!

22 Nov 14:37
52c62c5
Compare
Choose a tag to compare

First release after having been introduced as an official HACS repository! :-)
What's new:

  • improved connection handling, with several bugfixes
  • introduced devices autodetection, with dynamic IP addresses
  • introduced passive devices
  • improved light platform, introducing scenes and HSV handling
  • improved fake positioning for covers, and introduced reversed mode
  • improved fan platform
  • improved logging
  • other that I can't remember now :-D
    Enjoy!