Advertisement
MiAutomations

Configuração Shelly 1 Home Assistant Rest API

Feb 13th, 2019
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. switch:
  2. - platform: rest
  3. name: "Shelly1 Switch1"
  4. scan_interval: 5
  5. resource: http://colocar aqui o vosso ip do shelly 1/relay/0
  6. body_on: 'turn=on'
  7. body_off: 'turn=off'
  8. is_on_template: '{{ value_json.ison == true}}'
  9. headers:
  10. content-type: application/x-www-form-urlencoded
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement