Quitar MQTT de las persianas

This commit is contained in:
dfcarvajal
2019-08-16 20:13:49 +02:00
parent cbcb388af6
commit b2a5c401df
9 changed files with 235 additions and 117 deletions

View File

@@ -0,0 +1,17 @@
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