Releases: xZetsubou/hass-localtuya
3.2.3h1
3.2.3 Hotfix 1:
- Fix reconnecting for sub-devices in
10da707
Improvements:
- Update constants (#88) "Resolves Fan warning on HA 2024". by @xZetsubou in
b248dc2
- Discovery: skip decryption of broadcast message "3.1 devices discover issue" by @xZetsubou in
8f3ffe1
- Reworked devices connection "Fix entities going unavailable". by @xZetsubou in
f897155
- Climate auto configure set 1 as default temperature step. by @xZetsubou in
cc21cc7
- Climate auto configure set 0.1 as default precision. by @xZetsubou in
a90175d
Fixes:
- Fix controlling "3.3" sub-devices. by @xZetsubou in
3b726e0
- Discovery: Fix IP address doesn't update if changed by @presidentio in
452cedc
- Fan: fix speed count for speed list. by @xZetsubou in
b69b3bc
- Fan: Set default min and max fan speed #93 "fix auto configure fans" by @xZetsubou in
b6b193a
New Contributors
- @presidentio made their first contribution in #95
Full Changelog: 3.2.2h1...3.2.3h1
3.2.2h1
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
- Fix
set dp
service and add support setting multi DPS by @xZetsubou in #56 - Disconnected msg level and fix Translation
username
by @xZetsubou in #59 - Fix humidifer
available_modes
by @xZetsubou in #60 - Set
Switch
as default class for switches by @xZetsubou in #62 - Fix auto configure if device added manually by @xZetsubou in #63
- Improve add device step by @xZetsubou in #65
- Minor fixes for sub devices connection by @xZetsubou in #67
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 ]
3.2.0
What's Changed
Most know.
- Entity friendly name is no longer required and entity name will follow after the
device name
.
^ This won't break old setup unless you changed the old entity name.
- Light Scenes and Select entities options are now separated by comma
,
not;
.
New:
- Auto configure device
Only IF Cloud is set up
. by @xZetsubou
You can EDIT the device after auto configure to change tweak you configs. - Icons are now supported
[ For Auto configured or Templates only ]
- These platforms now has device class options:
Switch, Cover and Number
- These platforms now has unit of measurements:
Number
- Added supports for platforms:
Siren and (de)Humidifer
.
Fixes:
- Fix DP Codes no longer shows after 2 hours without reload integration.
- Fix the blank error if DP Code not found.
- Fix Error
config entry was never loaded
when setup platform for the first time. - Fix bug when
entity_category
config isn't exists. - Fix multiplies error msg
Listener is exists
. - Fix bug when reconfigure the cloud user data.
Impovments:
- Cloud data will be updated when
configure
dialog shows,Reload is no longer needed.
- Sub devices: Has been reworked this fix the gateways that have limited connection clients.
- Config Flow: Devices List are now sorted -> known devices will show at the top and unknowns devices by ip.
- Adding New device and Initialization now is now faster.
- Improve English translations to be more user friendly. by @codyc1515 in #45
- Binary Sensors is no longer requires off state and any state beside
on
value will be considered asOFF
. - Templates: list field are now insertable and searchable, you can enter the filename manually without need to restart HA to load them up.
- Templates: Filename now will show as the same actually filename with extension.
- Edit Devices options will now longer show up if there is no configured devices.
NOTE:
Auto configure is works kinda similar to how HA Tuya works, So sometimes might pull wrong values like select and numbers options etc..
because cloud data sometimes doesn't report same values as local device.
Full Changelog: 3.1.1...3.2.0
3.1.1
Fixes:
- Climate precision
force type to float
. - Fix reconnect tasks duplicates and improve function.
- Fix reload takes long time when there's a device isn't connected to network.
Improvements:
- Improve Reload and Initialization of integration.
- Label ALL available DPs with there
Code "only if cloud is set up"
.
3.1.0
New
- Events for homeassistant:
localtuya_device_triggered
will always trigger if something happen to device. reports:device_id, type and states
localtuya_device_dp_triggered
same as device trigger but will only reportsdevice_id, dp and value
.
localtuya_states_update
trigger only when DP states changed, reports:device_id, type, old_states and new_states
Improvements:
- Return error message if cannot connect instead of falsy success msg
- Clarify error messages when adding new hub
- Support multi hubs account correctly
- Add GUI for
Set_DP
Call service - Handle Reconnect to devices when [ Reload, add and edit devices ].
- Fix bug in light.py [ force int for conf senses
- Fix Music checkbox reset each time when edit the device.
- Fix product key keeps reset after finish editing which cause reconnect twice.
- Fix first hub installation.
- Connecting and discover 3.5 devices.
- If device fails for unexpected reason it will instant try to reconnect rather then wait 1min cycle.
- Inserting empty space or dash
-
in Manual DPS and Reset DPID to remove there saved configs on edit. - Updated Readme and add templates guide to readme
- Add sample template for bulb.
3.0.3
What's Changed
- Fix auto protocol and
productKey
by @xZetsubou in #20 - Fix control sub devices for protocols >= 3.4 by @xZetsubou in #21
- Fix devices setup connect devices [sub devices] by @xZetsubou in #22
- Config_Flow: Remove only unchecked entities in edit device
entities settings won't reset
. @xZetsubou in #23
Full Changelog: 3.0.2...3.0.3
3.0.2
Improvements
- Pulling the sub devices with Needed data without IP if we can't find gateway 672a916 @xZetsubou
3.0.0 Changes
Full Changelog: 2.1.1...3.0.0
Readme has been reworked
New:
Core:
- Add support for 3.5 ?
NOT Tested
. - Add support for Sub Devices. [ Zigbee and BTE ] Devices through gateways if supported.
- Update DPS Version uses constant values
UPDATE_DPS_LIST
.
Discovery:
- Report if an APP is broadcasting [Log_Debug only].
- Enable Reuse Port to let other integrations listen to Tuya Ports [ Discovery only ].
Config Flow:
- Add Node_ID to config_flow [ For sub devices only]
- Auto Discover
Sub-Devices
and pull all the needed information. e.g.Device Name ( Sub Device )
. PEV
^^^This will only works if Cloud API is enabled and configured^^^.
- Auto protocol this will loop through all supported protocols and store correct one!.
- Edit devices list now will show friendly_name to be more clear when choose device.
Fixes:
- Fix Model get removed when no internet access
- Fix Export & Import templates for Sub-Devices.
- Fixed the entity category in sample template.
- Fix Unique IDs already exists.
- Fix devices doesn't works when reload!
until reboot
. - Fix Devices Doesn't comeback when adding new device.
Hope So
- Fix
Entities Category
Improvements :
- Improved Discovery feature
- Try to detect the specific error and report it.
- Clarify some errors messages and report error
key
. - Config flow [Edit and Add devices list] is now depending on dev_id not ip.
- Add some TUYA Consts into const.py
- Removed
helpers
directory and useshelpers.py
- Integration renamed from
LocalTuya integration
toLocal Tuya
. -When add integration
- Rework on Config flow Actions
Menu instead of radio boxes
. - Add Translation for
template
step foren lang
3.0.1
Fixes
- An error occurred on adding device @xZetsubou #19
And prevent any error can happened so it doesn't interrupts adding devices..
Full Changelog: 3.0.0...3.0.1