Reestructuración Shelly 4
This commit is contained in:
11
packages/switch/general_coche_electrico.yaml
Normal file
11
packages/switch/general_coche_electrico.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
switch:
|
||||
- platform: rest
|
||||
name: "Coche Eléctrico"
|
||||
scan_interval: 30
|
||||
resource: http://10.10.1.153/relay/3
|
||||
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
|
||||
Reference in New Issue
Block a user