-
Notifications
You must be signed in to change notification settings - Fork 0
/
switches.yaml
50 lines (50 loc) · 1.5 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
- platform: command_line
switches:
cabezon:
command_on: curl "http://192.168.1.100/api/set?api_user=hLBDdm&api_secret=6RH5WLGiZohQw2Mw&action=periph.value&periph_id=1715154&value=100"
command_off: curl "http://192.168.1.100/api/set?api_user=hLBDdm&api_secret=6RH5WLGiZohQw2Mw&action=periph.value&periph_id=1715154&value=0"
friendly_name: Cabezón
- platform: mqtt
name: "enchufe_pasillo"
state_topic: "stat/oukitel01/POWER"
command_topic: "cmnd/oukitel01/POWER"
availability_topic: "tele/oukitel01/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
- platform: mqtt
name: "sonoff04_test"
state_topic: "stat/sonoff04/POWER"
command_topic: "cmnd/sonoff04/POWER"
availability_topic: "tele/sonoff04/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
- platform: mqtt
name: "sonoff05_test"
state_topic: "stat/sonoff05/POWER"
command_topic: "cmnd/sonoff05/POWER"
availability_topic: "tele/sonoff05/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true
- platform: mqtt
name: "sonoffpow01"
state_topic: "stat/sonoffpow01/POWER"
command_topic: "cmnd/sonoffpow01/POWER"
availability_topic: "tele/sonoffpow01/LWT"
qos: 1
payload_on: "ON"
payload_off: "OFF"
payload_available: "Online"
payload_not_available: "Offline"
retain: true