Fixed postlund's comments. Unified open_close config options

This commit is contained in:
rospogrigio
2020-10-01 12:40:48 +02:00
committed by rospogrigio
parent ee853ddb83
commit ff79bd04cd
5 changed files with 47 additions and 58 deletions

View File

@@ -20,9 +20,11 @@ localtuya:
- platform: cover
friendly_name: Device Cover
id: 2
open_cmd: "on" # Optional
close_cmd: "off" # Optional
stop_cmd: "stop" # Optional
open_close_cmds: ["on_off","open_close"] # Optional, default: "on_off"
positioning_mode: ["none","position","fake"] # Optional, default: "none"
currpos_dps: 3 # Optional, required only for "position" mode
setpos_dps: 4 # Optional, required only for "position" mode
span_time: 25 # Full movement time: Optional, required only for "fake" mode
- platform: fan
friendly_name: Device Fan