#6614 - added position_topic (required) - edited value_temlpate that get value from position_topic - changed retain and optimistic to false

snakuzzo 2019-10-14 18:51:37 +02:00
parent 014e8e599d
commit ce4f67dc43
1 changed files with 4 additions and 3 deletions

@ -164,9 +164,9 @@ cover:
availability_topic: "tele/<topic>/LWT"
state_topic: "stat/<topic>/RESULT"
command_topic: "cmnd/<topic>/Backlog"
value_template: '{{value_json.ShutterPosition1}}'
value_template: '{{ value | int }}'
qos: 1
retain: true
retain: false
payload_open: "ShutterOpen1"
payload_close: "ShutterClose1"
payload_stop: "ShutterStop1"
@ -174,10 +174,11 @@ cover:
state_closed: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
optimistic: true
optimistic: false
tilt_command_topic: 'cmnd/<topic>/ShutterPosition1'
tilt_status_topic: 'cmnd/<topic>/ShutterPosition1'
set_position_topic: 'cmnd/<topic>/ShutterPosition1'
position_topic: "stat/sonoff-cletto/SHUTTER1"
tilt_min: 0
tilt_max: 100
tilt_closed_value: 0