-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathswitches.yaml
38 lines (36 loc) · 994 Bytes
/
switches.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# REST switches
- platform: rest
name: window_lights_upstairs
resource: http://192.168.1.16:5000/Outlets/api/outlets/1/1
body_on: 'on'
body_off: 'off'
- platform: rest
name: floor_light_upstairs
resource: http://192.168.1.16:5000/Outlets/api/outlets/1/4
body_on: 'on'
body_off: 'off'
- platform: rest
name: window_lights_downstairs
resource: http://192.168.1.16:5000/Outlets/api/outlets/1/2
body_on: 'on'
body_off: 'off'
- platform: rest
name: wall_lights_downstairs
resource: http://192.168.1.16:5000/Outlets/api/outlets/1/3
body_on: 'on'
body_off: 'off'
- platform: rest
name: garden_lights
resource: http://192.168.1.16:5000/Outlets/api/outlets/2/1
body_on: 'on'
body_off: 'off'
# MQTT switches (for Telldus via Node-RED)
- platform: mqtt
name: "Telldus 1"
command_topic: "Telldus/Outlet/16"
- platform: mqtt
name: "Telldus 2"
command_topic: "Telldus/Outlet/15"
- platform: mqtt
name: "Aquarium light"
command_topic: "Telldus/Outlet/14"