Commit Graph
100 Commits
Author SHA1 Message Date
rospogrigio f23a945f5e Fixed negotiation and sequence numbers for protocol 3.4 2023-01-09 01:33:18 +01:00
rospogrigio 9efbcce0e4 Fixed requested DPs for type_0d devices 2023-01-08 07:42:53 +01:00
rospogrigio 9d94f1665d Added debugging 2023-01-07 23:24:02 +01:00
rospogrigio 24853b5de7 Fixed HEARTBEAT command 2023-01-07 22:59:08 +01:00
rospogrigio 5fbf5b39b4 Introduced 3.4 protocol option in config flow 2023-01-07 22:44:27 +01:00
rospogrigio 4a5bf83867 Introduced pytuya with support for 3.4 protocol 2023-01-07 22:42:11 +01:00
rospogrigio fa55cd6a38 Ported README.md updates to info.md 2022-09-05 10:21:24 +02:00
rospogrigio dd565379a3 Optimized setup_entities by regrouping platforms 2022-06-20 10:23:34 +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 4c0072f404 Introduced checkbox to choose whether to setup Cloud API account 2022-06-06 15:59:50 +02:00
rospogrigio 817ec3b979 Updated README for the 'Do not configure cloud API' button 2022-06-06 13:01:10 +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 622c8e78a1 Improvements on README 2022-05-31 15:09:51 +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
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 c3ec3ac946 Removed local_key censoring in device diagnostics 2022-05-24 11:04:31 +02:00
rospogrigio cbac83f362 Removed local_key censoring in device diagnostics 2022-05-24 11:03:50 +02:00
rospogrigio b76b323f90 Removed local_key censoring in device diagnostics 2022-05-24 10:48:20 +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 f5ad40219b tox fixes 2022-05-23 16:44:44 +02:00
rospogrigio b2e89808a1 tox fixes 2022-05-23 15:33:11 +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 d42901bae1 Merge branch 'localtuya_4.0' of github.com:rospogrigio/localtuya-homeassistant into localtuya_4.0 2022-05-23 13:45:58 +02:00
rospogrigio 6be13c5ba0 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 11:22:48 +00:00
rospogrigio ef50285c33 Obfuscated diagnostics; fixed IP auto-update; cleaned logs 2022-05-23 13:18:56 +02: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
rospogrigio d4c20ebfed Modified config flow, introduced device deletion 2022-05-23 13:18:56 +02:00
rospogrigio b22cb29811 Introduced diagnostics 2022-05-23 13:18:56 +02:00
rospogrigio b2a1350e56 Introduced TuyaCloudApi class 2022-05-23 13:18:51 +02:00
rospogrigio 5637060a87 Fixed close button disabled with 'none' positioning mode 2021-01-07 09:46:01 +01:00
rospogrigio a74af936a4 Fix for issue #186 (wrong initialization values for _timer_start and _previous_state) 2020-11-24 22:50:47 +01:00
rospogrigio f3cfde0308 Updated tuyadebug.tgz (1.0.0) 2020-10-22 23:03:34 +02:00
rospogrigio 3bc16739d9 Introduced 1_2_3 Commands set for covers 2020-10-20 22:31:33 +02:00
rospogrigio fffd07b5e6 Further corrections for integration in HACS 2020-10-19 22:40:15 +02:00
rospogrigio c8e358e6f2 Restored original position of manifest.json 2020-10-19 17:49:07 +02:00
rospogrigio b2705567c1 Moved manifest.json 2020-10-19 17:30:49 +02:00
rospogrigio c191d590cf Fixed hacs.json 2020-10-19 13:27:59 +02:00
rospogrigio d8602e4fe3 Introduced hacs.json and updated manifest.json 2020-10-19 13:04:46 +02:00
rospogrigio c305592781 Updated documentation 2020-10-02 10:09:08 +02:00
rospogrigio 0d329e97b9 Fixed last postlund's remarks 2020-10-02 10:08:52 +02:00
rospogrigio dee728d008 Fixed postlund's remarks 2020-10-02 10:08:52 +02:00
rospogrigio d9a9490535 Slight coding improvement 2020-10-02 10:08:52 +02:00
rospogrigio ff79bd04cd Fixed postlund's comments. Unified open_close config options 2020-10-02 10:08:52 +02:00
rospogrigio ee853ddb83 Positioning mode changed from 'yes' to 'position'; removed 'stop' command configuration 2020-10-02 10:08:52 +02:00
rospogrigio e0b1cf54fd Removed configuration of 'stop' command 2020-10-02 10:08:52 +02:00
rospogrigio 1bd0a28045 Cover Curr and Set Pos DPS now are chosen in a drop-down menu 2020-10-02 10:08:52 +02:00
rospogrigio e1594bf474 Cover refactoring: introduced parameter positioning_type = [none/yes/fake] 2020-10-02 10:08:52 +02:00
rospogrigio 440ca2c90d Screenshots for documentation shrinked 2020-10-02 01:20:34 +02:00
rospogrigio 162e1f63c6 Screenshot for documentation 2020-10-02 01:16:06 +02:00
rospogrigio 2e46d65f9a removing unused method after merge 2020-09-30 11:51:13 +02:00
rospogrigio 0e79570483 set_dps now Dispatches status update to all entities 2020-09-30 11:51:13 +02:00
rospogrigio deeaf0e9eb More lint fixes 2020-09-30 11:51:13 +02:00
rospogrigio 32850b973d More lint fixes 2020-09-30 11:51:13 +02:00
rospogrigio e5ce098016 More lint fixes 2020-09-30 11:51:13 +02:00
rospogrigio 56c266d344 Fixing lint output 2020-09-30 11:51:13 +02:00
rospogrigio 8d0c65ad56 Restored missing docstring for TuyaDevice.set_dps() 2020-09-30 11:51:13 +02:00
rospogrigio 3fc19da259 Updating the status of TuyaDevice using the response of the set_dps() call 2020-09-30 11:51:13 +02:00
rospogrigio 3259a4f654 Second part of one_device_only big merge 2020-09-26 22:38:26 +02:00
rospogrigio 83b3b6f21b Moved TuyaCache to __init__.py, and renamed to TuyaDevice. In pytuya, renamed TuyaDevice to TuyaInterface 2020-09-22 00:51:33 +02:00
rospogrigio ffae9976f0 Updated tuyadebug.tgz 2020-09-20 09:50:43 +02:00
rospogrigio c266e0f904 add_request_dps moved into prepare_setup_entities, plus code cleaning 2020-09-19 15:59:59 +02:00
rospogrigio 6700e02c52 set_dpsUsed turned into add_dps_to_request ; used it when setting up entities 2020-09-19 15:59:59 +02:00
rospogrigio 6f14df2d74 Replaced some hardcoded strings with constants and config_entries 2020-09-18 14:45:51 +02:00
rospogrigio 1a9f7382fc LocaltuyaCover now inherits from LocalTuyaEntity 2020-09-18 14:45:51 +02:00
rospogrigio 7afd19d197 Still prefer to keep '(YAML)' suffix for Integrations imported from YAML, for the moment 2020-09-18 09:40:12 +02:00
rospogrigio 16cb29297b Introduced dps detection with bruteforcing for type_0d devices 2020-09-16 19:36:51 +02:00
rospogrigio 9d917fe325 Merge branch 'physical_device' 2020-09-16 10:03:37 +02:00
rospogrigio 4056c0abb0 Fixing device name 2020-09-16 10:03:19 +02:00
rospogrigio baee524d54 Merge branch 'physical_device' 2020-09-15 23:32:00 +02:00
rospogrigio c99cc1f077 Removed unneeded friendly_name fields 2020-09-15 23:31:33 +02:00
rospogrigio 400ad57e01 Merge branch 'master' into physical_device 2020-09-15 12:55:46 +02:00
rospogrigio b0ee281894 Merge branch 'master' into pytuya_refactoring 2020-09-15 12:41:52 +02:00
rospogrigio b401020c99 Merge branch 'postlund-platform_setup' 2020-09-15 12:39:02 +02:00
rospogrigio b3006a7c68 Merge branch 'pytuya_refactoring' into physical_device 2020-09-15 11:28:36 +02:00
rospogrigio 386d59b497 config_entry forwarded only to proper platform; DOMAIN imported from component 2020-09-15 10:59:06 +02:00
rospogrigio 22ccd51926 Fixed TuyaDevice init calls 2020-09-15 09:24:53 +02:00
rospogrigio 122d9a6a6f Merge branch 'pytuya_refactoring' into physical_device 2020-09-15 00:18:26 +02:00
rospogrigio 97ada3de4f Fix in validate_input 2020-09-15 00:17:42 +02:00
rospogrigio 6c68cdcbcc Merge branch 'pytuya_refactoring' into physical_device 2020-09-15 00:15:46 +02:00
rospogrigio ce2461df2b Merge branch 'master' into pytuya_refactoring 2020-09-14 23:32:55 +02:00
rospogrigio e824f285fa Merge branch 'postlund-fix_fan' 2020-09-14 20:59:39 +02:00
rospogrigio 285bffdc68 Fixed async_setup_entry in cover.py 2020-09-14 20:57:50 +02:00
rospogrigio 0e94b681db Fixed import from YAML in config_flow.py 2020-09-14 20:44:55 +02:00
rospogrigio d2281c4368 Merge branch 'postlund-cover_config_flow' 2020-09-13 15:00:33 +02:00
rospogrigio 27edcacde2 Fixed missing merging conflicts 2020-09-13 14:59:24 +02:00
rospogrigio cc3f5e3a3a Merge branch 'postlund-fan_config_flow' 2020-09-13 14:23:26 +02:00
rospogrigio 04a215a062 Fixed merging conflicts 2020-09-13 14:23:09 +02:00