Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch:
- - platform: rest
- name: "Shelly2 Switch1"
- scan_interval: 5
- resource: http://Colocar aqui o IP dos vosso Shelly 2/relay/0
- body_on: 'turn=on'
- body_off: 'turn=off'
- is_on_template: '{{ value_json.ison == true}}'
- headers:
- content-type: application/x-www-form-urlencoded
- - platform: rest
- name: "Shelly2 Switch2"
- scan_interval: 5
- resource: http://Colocar aqui o IP dos vosso Shelly 2/relay/1
- body_on: 'turn=on'
- body_off: 'turn=off'
- is_on_template: '{{ value_json.ison == true}}'
- headers:
- content-type: application/x-www-form-urlencoded
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement