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   
