Files
homeassistant/packages/cover/rest_command_covers.yaml
2019-08-16 20:13:49 +02:00

18 lines
511 B
YAML

rest_command:
shelly_cover_action:
url: http://{{ip}}/roller/0
method: POST
headers:
accept: 'application/json, text/html'
payload: 'go={{action}}'
content_type: 'application/x-www-form-urlencoded'
verify_ssl: true
shelly_cover_set_position:
url: http://{{ip}}/roller/0
method: POST
headers:
accept: 'application/json, text/html'
payload: 'go=to_pos&roller_pos={{position}}'
content_type: 'application/x-www-form-urlencoded'
verify_ssl: true