Skip to content

Releases: xZetsubou/hass-localtuya

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 ]

3.2.0

30 Oct 09:42
eab5385
Compare
Choose a tag to compare

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 as OFF.
  • 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

29 Sep 01:17
17a9978
Compare
Choose a tag to compare

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

21 Sep 07:57
ccb5c42
Compare
Choose a tag to compare

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 reports device_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

01 Sep 07:53
acbba2e
Compare
Choose a tag to compare

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

30 Aug 23:18
67f5188
Compare
Choose a tag to compare

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 uses helpers.py
  • Integration renamed from LocalTuya integration to Local Tuya. - When add integration
  • Rework on Config flow Actions Menu instead of radio boxes.
  • Add Translation for template step for en lang

3.0.1

30 Aug 11:51
edce3cc
Compare
Choose a tag to compare

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

3.0.0

30 Aug 08:18
cd476b4
Compare
Choose a tag to compare

hotfixes in 3.0.1 and 3.0.2