Releases: xZetsubou/hass-localtuya
Releases · xZetsubou/hass-localtuya
2024.12.1
🚨 Note: This update requires Home Assistant version >= 2024.11.0
2024.12.1
- Hotfix: IndexError - change is entry check logic by @xZetsubou in 8976714
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
- pref: Correct actions order in async_setup_entry by @Lurker00 in #356
- pref: Call disconnect() only once for offlined sub-device by @Lurker00 in #344
- pref: Avoid multithreading and other fixes by @Lurker00 in #359
- pref: Don't update seqno from a delayed reply by @Lurker00 in #365
- pref: Unload and shutdown refactor by @Lurker00 in #363
- pref: Explicit tasks cancel by @Lurker00 in #383
- pref: Include sub-device on disable disconnection by @xZetsubou in #400
🔧 Chore
- chore: Typo in Zone Attributes by @Eambo2 in #371
- chore: Add remote entity to features in README by @felipecrs in #381
- chore: removed expectation for old HA versions by @xZetsubou in 9edca33
Full Changelog: 2024.9.0...2024.12.0
2024.9.0
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
Fixes
- Fix
reuse_port
unsupported error on Windowsf9b7b99b
- 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 offlinea34e316
- 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
2024.5.0
note: from now on releases tags will be based on date format
Fixes
- Fix
improt_modules
blocking the event loop7d7535a
- 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 C7229afa
- Improve auto configure climates
5880f8f
Core:
3.2.5.1
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
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
3.2.4.1
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
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.