Commit Graph

397 Commits

Author SHA1 Message Date
sibowler 21f7af6ba8 Implementing safe default for devices not requiring RESET 2022-09-07 23:21:06 +10:00
rospogrigio 21e6aade35 Edited manifest.json to 4.1.0 2022-09-05 10:16:11 +02:00
sibowler 19a0cb6d15 Fixing slight format error 2022-09-04 14:06:10 +10:00
sibowler 8c4894371f Fix for cover issues with new state restore functionality 2022-09-04 14:02:06 +10:00
sibowler 8de987b2a0 Fix for cover defect 2022-09-01 22:25:24 +10:00
sibowler cf571c0ce5 Merge branch 'master' into restore_state 2022-09-01 06:11:37 +10:00
rospogrigio 2bae03c679 Release 4.0.2 2022-08-30 10:28:08 +02:00
Mark Breen 43c01eefd9 Refactor number entity overrides
Relates to issues [929](https://github.com/rospogrigio/localtuya/issues/929), [939](https://github.com/rospogrigio/localtuya/issues/939) & [941](https://github.com/rospogrigio/localtuya/issues/941)
I do not have any suitable tuya devices in use to test against this number entity however the warning in logs "LocaltuyaNumber is overriding deprecated methods on an instance of NumberEntity] is now gone

https://developers.home-assistant.io/blog/2022/06/14/number_entity_refactoring/
2022-08-29 14:44:45 +02:00
Fabien Brachere 8a696cbaf2 Add "1/0" entry for HVAC_MODE_SETS
BHT-002 thermostat DP #4 set the heating mode (auto or manual). The accepted values are strings "0" for auto mode and "1" for manual mode.
This commit add an entry "1/0" to support this behaviour.
2022-07-25 09:58:00 +02:00
sibowler ad1f757818 Implementing RESET Tuya function to enable devices which are stuck in a zombie mode to start responding to commands. Added configurable DPS for Reset command as found devices wouldn't 'wake up' unless they had exactly the right entries 2022-07-20 06:14:12 +10:00
sibowler 1c9a1e4e4b Spelling correction 2022-07-14 15:26:58 +10:00
sibowler f85b25dea9 Fixing formatting/style errors 2022-07-14 08:59:54 +10:00
sibowler 06968d8a9c Rebase merge fix. Earlier commit also included changes for manually specifying DPS where entity detection failed, restoring DPS values on reconnect and also supporting devices which don't report DPS status until it has been set once. 2022-07-14 06:58:00 +10:00
sibowler 0fe550576a Fix NumberEntity HA changes and add step control 2022-07-14 06:53:13 +10:00
sibowler 364569bad8 Rebase from upstream 2022-07-14 06:46:36 +10:00
rospogrigio 54dbc3a359 Update manifest.json 2022-06-27 19:07:43 +02:00
rospogrigio dd565379a3 Optimized setup_entities by regrouping platforms 2022-06-20 10:23:34 +02:00
rospogrigio 1499120665 Update it.json 2022-06-15 14:11:57 +02:00
rospogrigio aa786fb12e Update it.json 2022-06-15 14:11:57 +02:00
emanu e66681957d Update it.json
Updated translation for Tuya 4.0
2022-06-15 14:11:57 +02:00
emanu 2ee049f204 Create it.json
Added Italian translation
2022-06-15 14:11:57 +02:00
Leandro Issa f40b0491cf Add files via upload 2022-06-14 16:48:13 +02:00
rospogrigio b1b6c3ef03 Merge branch 'master' into localtuya_4.0 2022-06-10 09:35:28 +02:00
rospogrigio 1efe8db021 Fixed restoring entity state when reloading 2022-06-08 14:08:48 +02:00
rospogrigio 47d399e3a9 Improved description of reload service; removed some print messages 2022-06-08 10:03:11 +02:00
rospogrigio d8b1946ed5 Cleaned debug messages 2022-06-07 10:55:21 +02:00
rospogrigio d1a024148b Merge branch 'master' into localtuya_4.0 2022-06-06 14:05:22 +00:00
rospogrigio 4c0072f404 Introduced checkbox to choose whether to setup Cloud API account 2022-06-06 15:59:50 +02:00
rospogrigio 9a0f5b8edb Improved code readability (racu10's suggestion) 2022-06-03 12:34:32 +02:00
rospogrigio 8b11ffaf86 Turned all 'print' messages into _LOGGER.debug 2022-06-01 18:05:12 +02:00
rospogrigio da8ed8d82b Fix for 'KeyError: tuya_devices' at startup 2022-06-01 17:31:58 +02:00
rospogrigio 00c126acb8 Fixed labels missing when editing Cloud configuration 2022-06-01 17:27:56 +02:00
rospogrigio 110585b3f8 Changed deprecated async_get_registry() to async_get() 2022-05-31 15:02:19 +02:00
rospogrigio d7f53ada07 Fixed Adding new device manually 2022-05-30 12:08:20 +02:00
sibowler 01a9fb6a48 Revert "Revert "Rebase from upstream"" 2022-05-29 07:20:19 +10:00
sibowler 73be0c8a45 Revert "Rebase from upstream" 2022-05-29 06:57:37 +10:00
sibowler 370e37272c Merge branch 'master' of https://github.com/rospogrigio/localtuya into rospogrigio-master 2022-05-29 06:52:05 +10:00
rospogrigio f9b88c79a0 Fixed wrong 'already_configured' message when editing entities 2022-05-27 12:54:20 +02:00
rospogrigio d8b64eb819 Changed permissions for cloud_api.py 2022-05-27 12:35:32 +02:00
rospogrigio 98643a4012 Fixed diagnostics currupting stored config_entry 2022-05-26 13:49:52 +02:00
rospogrigio cbac83f362 Removed local_key censoring in device diagnostics 2022-05-24 11:03:50 +02:00
rospogrigio 3896064c73 Removed local_key censoring in device diagnostics 2022-05-24 10:44:17 +02:00
rospogrigio 42aafa048a Removed local_key censoring in device diagnostics 2022-05-24 10:35:13 +02:00
rospogrigio 824c0127c1 Removed local_key censoring in device diagnostics 2022-05-24 10:30:27 +02:00
rospogrigio cd39a3a74d tox fixes 2022-05-23 17:26:19 +02:00
rospogrigio 6c6b955048 First tox fixes 2022-05-23 15:31:08 +02:00
rospogrigio f85e579a68 Fixed device diagnostic corrupting config entry 2022-05-23 14:38:03 +02:00
rospogrigio 6be13c5ba0 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 11:22:48 +00:00
rospogrigio cdfe8e4906 Finalized device editing, device diagnostics, auto-update of local key and IP 2022-05-23 13:18:56 +02:00
rospogrigio afc0230796 Introduced migration; fixed update when adding device 2022-05-23 13:18:56 +02:00