forked from dashdrum/esphome
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathof-ac-rcvr.yaml
95 lines (78 loc) · 1.71 KB
/
of-ac-rcvr.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
substitutions:
upper_device_name: Office AC Receiver
device_name: of_ac_rcvr
esphome:
name: $device_name
platform: ESP8266
board: esp01_1m
# Enable logging
logger:
level: DEBUG
ota:
wifi: !include include/wifi_iot.yaml
captive_portal:
mqtt: !include include/mqtt.yaml
remote_receiver:
pin:
number: GPIO2
inverted: True
dump: nec
id: recvr1
binary_sensor:
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Power Button"
nec:
address: 0xFF01
command: 0xED12
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Temp Plus"
nec:
address: 0xFF01
command: 0xE51A
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Temp Minus"
nec:
address: 0xFF01
command: 0xEC13
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Eco"
nec:
address: 0xFF01
command: 0xF00F
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Display"
nec:
address: 0xFF01
command: 0x9966
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Fan"
nec:
address: 0xFF01
command: 0xF10E
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Mode"
nec:
address: 0xFF01
command: 0xFD02
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Timer"
nec:
address: 0xFF01
command: 0xE41B
- platform: remote_receiver
receiver_id: recvr1
name: "Office AC Sleep"
nec:
address: 0xFF01
command: 0xF50A
button:
- platform: restart
name: $upper_device_name Restart