Skip to content

Releases: xZetsubou/hass-localtuya

2024.6.0

07 Jun 21:32
Compare
Choose a tag to compare

Fixes

  • Fix async_dispatcher warnings on HA 2024.6.0 release182de71
  • Fix DPS Requests for 3.2 devices to add all the detected DPS instead of the ID only 82b73aa

Changes

  • Logs prefix will show device name b2e24f3

2024.5.0

26 May 21:34
Compare
Choose a tag to compare

note: from now on releases tags will be based on date format

Fixes

  • Fix improt_modules blocking the event loop 7d7535a
  • Fix Mass timeout errors if the device has refresh DPS interval. "workaround" 52a41d7
  • Fixes for auto configure entities b705def
  • Light: Fix error if brightness is not defined 8380743
  • Climate: Fix some devices doesn't change the hvac mode on first try fcc6911

Improvements:

  • Add support for Water Heater Platform 6e7d36a
  • Add support for IR Remote with Enum control type a797350
  • Added Stop Switch for covers that has DP act as stop switch 77a542a
  • Improve the speed of reloading integration.. 3a42a20
  • Auto configure remotes add Temperature and Humidity sensor if exists cdc1257
  • Sub-devices now updates it local_key, gateway_id if gateway changed 3d0a22d
  • Restore old states if 0 in manual DPS 8380743
  • Refactor low-power device to connection process while it sleep 8380743
  • Improve restoring entities states fafeeca
  • Improve auto configure heaters. 5c170a1
  • Now it's possible enable debug for any sub-device and not necessary to be the gateway. 4a4d67a
  • Handle climate odd devices that reports set_temp as F and current temp as C 7229afa
  • Improve auto configure climates 5880f8f

Core:

  • Refactor change values handle group requests better. 3d0a22d
  • Fix sub-devices retrieve the wrong status and takes another sub-device status. 842778d
  • Improve devices stability on receiving multi commands at once. 07fa10a
  • Improve data handler bb90383

3.2.5.1

29 Mar 19:10
Compare
Choose a tag to compare

Changes:

  • Fix & Improve integration startup ae1de60
  • Device Sleep - Fix low-power devices doesn't goes unavailable when time exceed device sleep 5eefe9c
  • Fix some DPS doesn't retrieve cloud values 2982119
  • Fix deprecated warnings if supported color modes is only one aafabc3
  • Fix light dimming caused in 3.2.5 5e7c5f0
  • Fix device_triggered event 40cd09c

Full Changelog: 3.2.5...3.2.5.1

3.2.5

08 Mar 11:07
Compare
Choose a tag to compare

New & Improvements:

  • New platform remote & Support for IR Remotes. 0e614f99
  • ADD supports low-power devices that goes into sleep and wakes up every x time. bb7ab44

Fixes:

  • Ignore disabled devices and no longer connect to them 34a9d9a.
  • Mass configure wasn't pulling DP data from cloud. 5b95877.
  • (De)humidifier Add current temperature option into config flow 97868af.
  • Vacuum auto configure entities af4572d.
  • Lights color modes warnings new ha version. 137eadd.
  • Auto configure & Climate issues b82cd16.
  • Fan desecrated warnings 75e8b3a.
  • Templates import select platforms. cf696df.

Full Changelog: 3.2.4.2...3.2.5

3.2.4.2

15 Feb 13:18
34b8634
Compare
Choose a tag to compare

New

  • New platform support: ALARM 31a0326

Fixes

  • Sensors: fix state classes 3a68cf6
  • Lights: fix turn on light with brightness value error when color mode is not white c93c133

Changes

  • Auto Configure: Sensors scale factor will be taken from cloud data 800ef6f
  • Update climate features fixes climate warnings 34b8634

3.2.4.1

03 Feb 07:29
bbd2fc2
Compare
Choose a tag to compare

Fixes:

  • Fix temperature step 1 increment 328825b
  • Fix restore last state causes the entity to be unavailable state. a2f3bb0
  • Fix unavailable states if the value of entity is 0. 6be5558
  • Fix SET DP Service for sub-devices bee12d1
  • Fix auto configure Humidifiers 5978ede
  • Fix auto configure Fans 626be63
  • Adjust auto configure FANs 6356b02
  • Auto configure Fix Cover mode and motor direction 20d85c3
  • Fix several auto configure bugs that add select platforms with old inputs comma split

Changes

  • Humidifier mode are now objects instead of string c5218f8
  • Auto configure add Electricity sensor 3a6441f
  • Auto configure Humidifiers auto get modes from cloud. 5978ede
  • Force Numbers platform to set value type to Integer instead of float 2e80c00
  • Handle Cloud API errors. 6d23f9d

Full Changelog: 3.2.4...3.2.4.1

3.2.4

11 Jan 09:30
fe50c74
Compare
Choose a tag to compare

Breaking change:

Templates created before this version will no longer work for 'select' and 'climate' paltforms.

Important:

After updating this it won't be possible to revert back safely to either old versions OR upstream.
These platforms config_flow fields are now objects dictionary instead of strings: #105

  • Climate: each of "HVAC Modes, HVAC Actions and Presets" are now manually mapping in object field.
  • Select: values and value friendly names are now mappable in 1 object field.
  • Light: Custom scenes values and value friendly names are now mappable in 1 object field.

Improvements:

  • Platforms Climate and Selects auto configure now relay on cloud data values in 2f733ce
  • Climate sets now can be manually mapped [ Home Assistant Modes to Tuya mode in 2f733ce
    ^ This includes climate HVAC Modes, HVAC Actions and Presets.

Fixes:

  • Integration keep reloading in 42b6569
  • no attributes Heartbeater in 0cb5c95
  • Integration causing HA to take long to loading time in eeefbed

3.2.3h1

06 Jan 22:22
10da707
Compare
Choose a tag to compare

3.2.3 Hotfix 1:

  • Fix reconnecting for sub-devices in 10da707

Improvements:

Fixes:

New Contributors

Full Changelog: 3.2.2h1...3.2.3h1

3.2.2h1

27 Dec 09:21
46ba6ea
Compare
Choose a tag to compare

3.2.2h1 hotfix

  • Fix the reconnecting task.

3.2.2

New

  • Add an option to configure all recognized devices in the add new device step.

Note: If you use this feature and there are many sub-devices connected to the same gateway, in the first attempt, it may only succeed in adding a couple of them, or perhaps just one. You will have to add this sub-device and then try again.

Improvements

  • Change entity available logic.
  • Devices will instantly reconnect if it unexpectedly drop connection.
  • Devices will be sorted in alphabet in reconfigure devices step
  • Climate OFF Mode can be removed In climate configure menu.
  • Climate Min and Max temps can be manually set In climate configure menu.
  • Climate: Fix translations for min and max temps configs.
  • Fix a bug where controlling the Gateway causes sub-devices to stop working.
  • Reconfigure devices step now the dropdown list is now sorted in alphabet.
  • Templates now will load without need to restart HA

Auto configure:

  • Added a method to get DP values via cloud otherwise will use default values.
    For now, this will be applied only to numbers entities.

3.2.1

15 Nov 22:21
2f7248c
Compare
Choose a tag to compare

Example for changing multi-dps values:

service: localtuya.set_dp
data:
  device_id: bf3e040669bd7aa117owie
  value: 
    1: false # Set DP 1 false [ 1st button on switch ]
    2: true  # Set DP 2 true [ 2nd button on switch ]
    3: true  # Set DP 3 true [ 3rd button on switch ]