Commit Graph

61 Commits

Author SHA1 Message Date
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
364569bad8 Rebase from upstream 2022-07-14 06:46:36 +10:00
rospogrigio
8b11ffaf86 Turned all 'print' messages into _LOGGER.debug 2022-06-01 18:05:12 +02:00
rospogrigio
cd39a3a74d tox fixes 2022-05-23 17:26:19 +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
rikman122
12bea161a8 lint code style fix 2022-01-24 10:44:38 +01:00
Rikman
6e1aa6b102 Merge branch 'master' into vacuum_platform_new 2022-01-24 10:02:49 +01:00
Rikman
cd4896d895 Merge branch 'master' into vacuum_platform_new 2022-01-13 12:25:49 +01:00
Martín Villagra
9323676202 Merge remote-tracking branch 'upstream/master' into climate 2022-01-10 17:00:05 -03:00
Martín Villagra
a2882a51e2 Merge remote-tracking branch 'upstream/master' into climate 2021-12-28 23:51:35 -03:00
Tim
ddee11f741 Revert "Merge branch 'add-string/integer-and-preset' into master"
This reverts commit a6ef6a4b7f, reversing
changes made to b748f0425c.
2021-12-22 23:05:33 +10:30
Tim
a6ef6a4b7f Merge branch 'add-string/integer-and-preset' into master 2021-12-22 22:52:42 +10:30
rospogrigio
88a5a73d4c Merge branch 'master' into master 2021-12-21 16:12:09 +01:00
Louis
a5245c79f7 Implement optional light variable to reverse color temp 2021-12-21 12:55:55 +01:00
Tim
ced1550247 Merge branch 'master' into master 2021-12-17 12:11:34 +00:00
sibowler
a0fff6ee2f Fixing up style errors in line with tox. 2021-12-16 10:16:53 +01:00
sibowler
61896605b8 Fixing up style issues 2021-12-16 10:16:53 +01:00
sibowler
fad7e0b1ac Reordering platforms to be alphabetical 2021-12-16 10:16:53 +01:00
sibowler
e1bb45f2a2 Adding Number and Select as Tuya platforms. Provides support for a wider range of devices. 2021-12-16 10:16:53 +01:00
Thales Silva
a6b3d49853 Report fault and fault code. Cleaning record. 2021-12-08 15:01:03 -03:00
Martín Villagra
20369577f3 fix linter issues 2021-11-23 20:45:20 +00:00
Martín Villagra
ae3f305db0 addressed all pending suggestions 2021-11-23 20:28:34 +00:00
Martín Villagra
0985ad64f2 add climate implementation 2021-11-23 19:45:48 +00:00
Tim
e8aa5ac9a8 integration inputs 2021-11-11 22:46:55 +10:30
Tim
c8e660dfac Revert "add presets and integer/string option"
This reverts commit ec223ba73d.
2021-10-26 21:41:59 +10:30
Tim
ec223ba73d add presets and integer/string option 2021-10-26 15:32:23 +10:30
Tim
94c3af1c7d update to new fan entity percentage 2021-08-19 19:56:54 +09:30
Tim
5217014f22 Update const.py 2021-08-18 11:06:41 +09:30
rikman122
0f3ad66849 add stop and locate commands 2021-06-17 11:46:07 +02:00
rikman122
77380992cb separate real modes from status modes 2021-06-17 09:45:29 +02:00
Taras Nychko
f374dd4f4a Add support for paused state 2021-06-14 23:25:21 +01:00
rikman122
3e78b0b9ba added Power control DP 2021-06-12 12:55:24 +02:00
rikman122
bab68a1d38 first approach 2021-06-11 16:10:47 +02:00
Pierre Ståhl
27af622405 Store product key in config entry (#170) 2020-11-19 10:13:00 +01:00
ultratoto14
8d91d9278b Merge branch 'master' into light_scenes 2020-11-16 07:29:40 +00:00
ThomasADavis
3e52811aac Fan controller updates (#155)
* Fan controller updates.

This updates the fan controller to be more dynamic on which dp's it uses.

Fan speeds can 1,2,3,4 or low,medium,mid,high,auto.  Fans with more
than 3 speeds is not supported by Home Assistant.

Variable speed fans are not supported at this time.

* rename set_dps -> set_dp

* change to use self._dp_id instead of a fixed dp

Co-authored-by: Thomas Davis <tdavis@nersc.gov>
Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com>
2020-11-16 07:10:02 +01:00
ultratoto14
10069817d0 Remove unecessary constants. 2020-11-10 14:13:03 +01:00
ultratoto14
6e07a5581f First try to add scenes. 2020-11-09 13:39:46 +01:00
ultratoto14
657850e39c Add support of RGB lights (#120)
* Make set_dps available.

* Adding RGB support, brightness fix, color_temp range.

* Update README for light options

* Formatting

* Formatting

* Need to force to white to ensure color picker is updated.

* Detect color mode RGB/HSV based on color length.

* Extract rgb encoded color check in method.

* Make check method private.

* Fix exception when color is not available (maybe when powered off)

* Reformat.
2020-10-28 09:54:54 +01:00
Pierre Ståhl
d783293a21 Add support for HSV encoded color lights (#90)
* Add support for HSV encoded color light

* Add debug logs for entity config

* Unset color when going to white mode
2020-10-26 12:09:31 +01:00
Pierre Ståhl
439f8aec0c Passively discover devices and update IP addresses 2020-10-21 10:49:29 +02:00
rospogrigio
032fceac2e Cover uppercase and new commands (#81)
* Introduced uppercase detection for cover commands
* Added FZ_ZZ as open_close available commands for covers
* Added FZ_ZZ in the YAML config example
* Introduced invert_position Option for cover
* Cover slider inverted properly
* Fixed wrong sample YAML config for cover
* Fixed postlund's remark
2020-10-21 10:23:00 +02:00
rospogrigio
3bc16739d9 Introduced 1_2_3 Commands set for covers 2020-10-20 22:31:33 +02:00
Pierre Ståhl
15a79ec690 Re-map light brightness range
Home Assistant uses brightness range 0-255 whilst Tuya somewhere around
29-1092. This commit maps brightness between these two ranges.
2020-10-16 12:40:06 +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
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
e1594bf474 Cover refactoring: introduced parameter positioning_type = [none/yes/fake] 2020-10-02 10:08:52 +02:00