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
This commit is contained in:
rospogrigio
2020-10-21 10:23:00 +02:00
committed by GitHub
parent 3bc16739d9
commit 032fceac2e
6 changed files with 27 additions and 13 deletions

View File

@@ -20,11 +20,12 @@ localtuya:
- platform: cover
friendly_name: Device Cover
id: 2
open_close_stop_cmds: # Optional, default: "on_off_stop"
commands_set: # Optional, default: "on_off_stop"
["on_off_stop","open_close_stop","fz_zz_stop","1_2_3"]
positioning_mode: ["none","position","fake"] # Optional, default: "none"
currpos_dp: 3 # Optional, required only for "position" mode
setpos_dp: 4 # Optional, required only for "position" mode
position_inverted: [True,False] # Optional, default: False
span_time: 25 # Full movement time: Optional, required only for "fake" mode
- platform: fan