Commit Graph

707 Commits

Author SHA1 Message Date
Pierre Ståhl
7384f1fc54 Add context to pytuya logging 2020-10-14 13:10:20 +02:00
Pierre Ståhl
59dfc35759 Fix bug when unloading an entry 2020-10-14 13:10:20 +02:00
Pierre Ståhl
5cd76f87ea Ignore status updates without datapoints 2020-10-14 13:10:20 +02:00
Pierre Ståhl
b2c4e93a47 Disconnect on missing heartbeats 2020-10-14 13:10:20 +02:00
Pierre Ståhl
f971646333 Close connection properly on error 2020-10-14 13:10:20 +02:00
Pierre Ståhl
2565074c9c Add missing await 2020-10-14 13:10:20 +02:00
Pierre Ståhl
cad31f1ffe Convert pytuya to asyncio 2020-10-14 13:10:20 +02:00
rospogrigio
084b3a741a Logo-small in README 2020-10-08 09:36:05 +02:00
rospogrigio
5cc48cf758 Added logo-small 2020-10-08 09:35:34 +02:00
rospogrigio
c5ac29ac69 Logo in README 2020-10-08 09:33:44 +02:00
rospogrigio
069cbf5ee5 Added logos 2020-10-08 09:29:20 +02:00
Pierre Ståhl
f5146ad4eb Add brightness and color_temp to example 2020-10-06 10:49:23 +02:00
Pierre Ståhl
1da5c2c2e1 Fix linting issues 2020-10-06 10:49:23 +02:00
danVnest
51a92da6b3 Include support for color temp instead of unfinished color 2020-10-06 10:49:23 +02:00
Pierre Ståhl
792fcc5186 Add color temp and brightness config to light 2020-10-06 10:49:23 +02:00
Pierre Ståhl
8456c6039c Add platform specific DPS to requests 2020-10-05 09:44:13 +02:00
Pierre Ståhl
8cc978a04d Refactor async_setup_entry 2020-10-05 09:44:13 +02:00
Pierre Ståhl
29c852f96c Add support for reloading from YAML 2020-10-04 22:36:28 +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
Pierre Ståhl
d9c6d66bb7 Fix review comments 2020-09-30 09:45:37 +02:00
Pierre Ståhl
b50cd7bf84 Initial work on refactoring pytuya
Still lots of things to improve, but it's a start. Will continue with
receive code.
2020-09-30 09:45:37 +02:00
rospogrigio
1d2fdfdba9 Updated tuyadebug.tgz using latest pytuya 2020-09-30 09:39:47 +02:00
Pierre Ståhl
7a9deea830 Do not block event loop on updates 2020-09-28 22:51:17 +02:00
Pierre Ståhl
e673340229 Fix missing attributes bug 2020-09-28 07:13:30 +02:00
Pierre Ståhl
caaf884a7a Get status once per device instead of per platform 2020-09-27 14:19:35 +02:00
Pierre Ståhl
b7173f3033 Switch to cryptograhy for crypto routines 2020-09-27 09:48:03 +02:00
Pierre Ståhl
2879761eae Remove unneeded YAML import flag 2020-09-26 22:59:28 +02:00
Pierre Ståhl
208b0ad5e9 Use two digits precision in senso 2020-09-26 22:38:26 +02:00
Pierre Ståhl
d22d081335 Clean up YAML examples in code files 2020-09-26 22:38:26 +02:00
Pierre Ståhl
63090ba985 Store DPS as integers in config entry
Also require protocol_version to be a string and validate version to be
supported.
2020-09-26 22:38:26 +02:00
rospogrigio
3259a4f654 Second part of one_device_only big merge 2020-09-26 22:38:26 +02:00
Pierre Ståhl
0048ce6d5e Move YAML config to component 2020-09-26 22:38:26 +02:00