Commit Graph

69 Commits

Author SHA1 Message Date
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
Pierre Ståhl 2879761eae Remove unneeded YAML import flag 2020-09-26 22:59:28 +02:00
rospogrigio 3259a4f654 Second part of one_device_only big merge 2020-09-26 22:38:26 +02:00
Pierre Ståhl 450060488b Add shared code to a common module 2020-09-24 09:48:42 +02:00
Pierre Ståhl 4e72767b30 Fix flake8 issues and enable flake8 in tox 2020-09-23 17:50:24 +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 f9a4b4ad8a Add config flow support for fan 2020-09-10 12:07:59 +02:00
Pierre Ståhl edc9debf83 Add config flow support for cover 2020-09-10 10:50:58 +02:00
Pierre Ståhl 7018625f04 Add light support and clean up schemas 2020-09-09 22:59:37 +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