Skip to content

Releases: xZetsubou/hass-localtuya

2024.12.1

03 Dec 04:29
Compare
Choose a tag to compare

🚨 Note: This update requires Home Assistant version >= 2024.11.0

2024.12.1

2024.12.0

🐛 Fixes

  • fix: switch none-voltage value causes unsupported error type by @ilankas in #345
  • fix: cover async_stop_after_timeout dead task by @mrpriv4te in #355
  • fix: I/O blocking function of templates by @xZetsubou in #396

✨ New:

  • feat: disconnect device on disable by @xZetsubou in #399
  • feat: possibility to add manual dps in reconfigure step by @xZetsubou in #404 Remove manual DPS later isn't possible.
  • feat: add lights mode sets by @xZetsubou in #405
  • feat: add gateway Identifier and shows the sub-devices connect to it by @xZetsubou in 248513c

⚡ Improvments

🔧 Chore

Full Changelog: 2024.9.0...2024.12.0

2024.9.0

30 Aug 08:36
Compare
Choose a tag to compare

What's Changed

  • Refactor Sub-Devices reconnecting task by @Lurker00 in #305
  • Bug fix: status from a sub-device goes to its gateway by @Lurker00 in #315
  • Sub-devices: connect to devices in a specific order by @Lurker00 in #312
  • Refactor of making connections by @Lurker00 in #313
  • Handling removed/returned subdevices by @Lurker00 in #321
  • Fan: fix HA warnings for turn_off_on features by @xZetsubou in #328
  • Fix the lock state inverted by @xZetsubou in #335
  • Fix cover state stuck when inverted and set position by @xZetsubou in #336
  • Handle empty range for tuya fan by @chpeck in #341
  • Cleans-up and Refactors by @xZetsubou in #325
    Fix: disabled devices checker.
    Add fail attempt on heartbeats

New Contributors

Full Changelog: 2024.7.0...2024.9.0

2024.7.0

11 Jul 23:10
Compare
Choose a tag to compare

Fixes

  • Fix reuse_port unsupported error on Windows f9b7b99b
  • Fixes and adjusts the logs a76f58ac
  • Fix socket.send() raised exception. a76f58ac
  • Fix the update_interval creating multiple tasks. a76f58ac
  • Fix disabled devices that may break reconnect function 5a3fb47c
  • Workaround to fix heartbeat not being sent because update_interval is less than 5 seconds. a76f58ac
  • Lights: Fix light brightness mapping 3aaaa48a @Lurker00

Improvements

  • Add message for disconnected function. a76f58ac
  • Add device ID and name in logger when adding a new device. a76f58ac
  • Improve Reconnect Task 3bac27c6
  • Gateway with Protocol Version 3.4 and 3.5 Sub-devices will no longer reconnect if device is offline a34e316
  • Force FAN Speed DP to string if it is defined as order_list 50e56ff8
  • Adjust the logs for sub-device and low-power devices. a76f58ac
  • Handle the failed connection expectations. a76f58ac
  • Lights: Allow switching between modes using the effect field 0c35d63b @Lurker00
  • Remote: adjust remote control for ENUM type "may fix control" 869d380

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