Reestructuración Shelly 4

This commit is contained in:
dfcarvajal
2019-06-22 16:18:09 +00:00
parent 70075e635e
commit 099256a748
8 changed files with 45 additions and 52 deletions

View File

@@ -0,0 +1,11 @@
switch:
- platform: rest
name: "General Persianas"
scan_interval: 30
resource: http://10.10.1.153/relay/1
body_on: 'turn=on'
body_off: 'turn=off'
timeout : 60
is_on_template: '{{ value_json.ison == true}}'
headers:
content-type: application/x-www-form-urlencoded