Commit Graph

38 Commits

Author SHA1 Message Date
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
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
3eacbbda5a spelling error 2021-10-05 15:57:42 +10:30
Tim
e613075971 update to new fan entity percentage configuration 2021-08-19 19:53:32 +09:30
Tim
ec793a1137 Update en.json 2021-08-18 11:05:36 +09:30
rospogrigio
9bfeb107f5 Cover fake position persistent (#213)
* Introduced read/store to JSON file of cover's last position for fake positioning
* renamed "fake" positioning to "timed"; introduced timed movement timeout equal to full opening time
* Made waiting for timeout for stopping non-blocking
* Introduced status storing using RestoreEntity
* Fixed postlund's remarks
* Updated cover samples in README and info.md
2020-12-30 22:47:45 +01:00
Pierre Ståhl
654c6cdc62 Support adding and removing entities to devices (#191)
New entities can be added via + button under Integrations (like when
adding a new device) and entities can be removed from Options.
2020-12-17 21:36:24 +01:00
Pierre Ståhl
1dbae752ef Give error if no DPS are found in config flow (#167)
Fixes #153
2020-11-18 11:39:11 +01:00
ultratoto14
26f5e17772 Merge branch 'master' into light_scenes 2020-11-17 14:17:43 +01:00
Pierre Ståhl
c8a44019fa Improve discovery error output (#134) 2020-11-17 12:26:18 +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
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
Pierre Ståhl
792fcc5186 Add color temp and brightness config to light 2020-10-06 10:49:23 +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
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
Pierre Ståhl
450060488b Add shared code to a common module 2020-09-24 09:48:42 +02:00
rospogrigio
3a61e0feff Merge pull request #28 from postlund/sensor
Add generic sensor platform
2020-09-21 00:43:44 +02:00
Pierre Ståhl
1e23120872 Add device discovery to config flow 2020-09-21 00:43:06 +02:00
Pierre Ståhl
26d83774e2 Add generic sensor platform 2020-09-19 23:43:12 +02:00
Pierre Ståhl
5507652bae Add support for options flow 2020-09-18 17:31:14 +02:00
Pierre Ståhl
e79b4cf619 Use friendly_name instead of name in config entry 2020-09-18 09:40:12 +02:00
Pierre Ståhl
edc9debf83 Add config flow support for cover 2020-09-10 10:50:58 +02:00
Pierre Ståhl
0600b2730b Make config flows general based on entities 2020-09-08 12:00:23 +02:00
Pierre Ståhl
b8333affc5 Add support for config flows for switches 2020-09-06 10:29:39 +02:00