Commit Graph
70 Commits
Author SHA1 Message Date
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
rospogrigio 250d7169c7 Merge branch 'postlund-cover_config_flow' 2020-09-13 14:18:51 +02:00
rospogrigio 6c77ce1c38 Fixed merging conflicts 2020-09-13 14:17:52 +02:00
rospogrigio 1df5928d6d Merge branch 'postlund-light_config_flow' 2020-09-13 14:15:01 +02:00
rospogrigio 853c1deb76 Fixed merging conflicts 2020-09-13 14:14:22 +02:00
rospogrigio 0cb0b38bdd Merge branch 'postlund-config_flow_switches' 2020-09-13 14:11:16 +02:00
rospogrigio 47b92b0178 Fixes suggested in PR #11 2020-09-13 14:03:08 +02:00
rospogrigio c008339f43 First working implementation of Devices 2020-09-11 14:48:49 +02:00
rospogrigio 9a45eb8398 Fixed conflicts 2020-09-11 11:55:43 +02:00
rospogrigio 9c3786b7a6 Merge remote-tracking branch 'origin/pytuya_refactoring' into physical_device 2020-09-11 11:54:04 +02:00
rospogrigio 184199ef87 Pytuya library refactoring and code cleaning 2020-09-11 11:46:01 +02:00
rospogrigio 61fd48cbda Merge branch 'config_flow_switches' of https://github.com/postlund/localtuya-homeassistant into postlund-config_flow_switches 2020-09-10 16:08:21 +02:00
rospogrigio 2fd6c18271 tuyadebug updated to pytuya 7.1.0 2020-09-10 11:44:05 +02:00
rospogrigio 8e9fb82304 Introduced type_0a and type_0d devices autodetection 2020-09-10 10:59:58 +02:00
rospogrigio 63d1ef26d4 Cleaned up pytuya code 2020-09-07 14:46:35 +02:00
rospogrigio 3d0505ac41 Removed unnecessary dps from covers; reduced cache timeout for covers and lights 2020-09-07 12:07:20 +02:00
rospogrigio 528143ddd6 Reduced cover logging 2020-09-07 09:10:31 +02:00
rospogrigio 550c29289a Merge branch 'fancygaphtrn-master' 2020-09-04 22:36:38 +02:00
rospogrigio 2f50050f8a Merge branch 'master' of https://github.com/fancygaphtrn/localtuya-homeassistant into fancygaphtrn-master 2020-09-04 22:36:16 +02:00
rospogrigio 16d8d4dcf9 Introduced pytuya 7.0.9: Unified dev_type (device20 or device22) handling for all devices 2020-09-03 21:51:27 +02:00
rospogrigio fdefd70043 Merge branch 'djtimca-feature-light' 2020-09-03 17:10:48 +02:00
rospogrigio 013622beef Merge branch 'postlund-unique_id_and_available' 2020-09-03 16:40:49 +02:00
rospogrigio f6169c442a Appended subswitch id (i.e., dps) to the unique_id to allow different unique_ids for subswitches 2020-09-03 16:39:06 +02:00
rospogrigio 98508a347a v.1.0.1: sending only dps actually used in request payload 2020-08-06 11:32:33 +02:00
rospogrigio e16ba51319 Corrected manifest.json 2020-07-31 11:20:21 +02:00
rospogrigio 47409e9db7 Introduced SET_POSITION feature for covers 2020-07-31 11:14:26 +02:00
rospogrigio db03bd3a8d Updated for HA 110.0 (CoverEntity and SwitchEntity instead of CoverDevice and SwitchDevice) 2020-05-21 07:55:35 +02:00
rospogrigio 071cdef230 Fixed and improved logging 2020-04-20 14:17:29 +02:00
rospogrigio fba6873052 Merge branch 'master' of https://github.com/rospogrigio/localtuya-homeassistant 2020-04-07 17:29:32 +02:00
rospogrigio 6e82ab0632 Introduced different support for switches with 20 and 22 bytes length for dev_id. Introduced name to set the entity_id and friendly_name for the frontend name. 2020-04-07 17:27:50 +02:00
rospogrigio ad083f1b8c Merge branch 'master' of https://github.com/rospogrigio/localtuya-homeassistant 2020-03-23 10:54:09 +01:00
rospogrigio 30c466015c Introduced cover support 2020-03-23 10:53:41 +01:00