Releases: rospogrigio/localtuya
v3.0.3: fixes for HACS integration
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
THIS RELEASE IS NOT WORKING.
PLEASE REMAIN AT v3.0.1.
v3.0.1: Connection bugfixes
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!!
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
This release introduces:
- 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...)
- the service localtuya.reload that can be invoked, and re-reads YAML configuration and restarts all devices
v2.0.0: Total refactoring
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
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
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
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
Introduced pytuya 7.0.9: Unified dev_type (device20 or device22) handling for all devices; until now, only switch devices handled it correctly.