Files
homeassistant/packages/cover/rest_command_covers.yaml_disable
2020-12-27 17:19:26 +01:00

18 lines
511 B
Plaintext

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