Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- switch:
- - platform: rest
- name: "Shelly1 Switch1"
- scan_interval: 5
- resource: http://192.168.2.xxx/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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement