-
Notifications
You must be signed in to change notification settings - Fork 18
/
rf_zwave_bridge.yaml
67 lines (60 loc) · 1.37 KB
/
rf_zwave_bridge.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
---
substitutions:
device: rf-zwave-bridge
name: RF ZWave Bridge
reboot_timeout: 14d
update_interval: 10min
esphome:
name: ${device}
platform: ESP8266
board: nodemcuv2
<<: !include common/common.yaml
<<: !include common/sensors.yaml
<<: !include common/logger.yaml
status_led:
pin:
number: LED
inverted: true
remote_receiver:
<<: !include common/rf_receiver.yaml
pin: D5
binary_sensor:
- platform: remote_receiver
<<: !include common/rf_receiver_sensor.yaml
name: RF Button Ventilation
rc_switch_raw:
protocol: 1
code: !secret rf_code_ventilation
on_press:
then:
- switch.turn_on: ventilation
- delay: 2000 ms
- switch.turn_off: ventilation
- platform: remote_receiver
<<: !include common/rf_receiver_sensor.yaml
name: RF Button Office Lights
rc_switch_raw:
protocol: 1
code: !secret rf_code_kantoor_lights
- platform: remote_receiver
<<: !include common/rf_receiver_sensor.yaml
name: RF Button Office Power
rc_switch_raw:
protocol: 1
code: !secret rf_code_kantoor_power
button:
- platform: restart
name: ${name} Restart
switch:
- platform: gpio
pin:
number: D6
inverted: false
name: ${name} Ventilation
id: ventilation
- platform: gpio
pin:
number: D7
inverted: true
name: ${name} Office
id: office