forked from nliaudat/floor-heating-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcovers.yaml
156 lines (146 loc) · 4.14 KB
/
covers.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
cover:
# - platform: current_based
- platform: endstop
name: ${ch1_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH1_IB_pin
- switch.turn_off: CH1_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_1_sensor
close_action:
- switch.turn_on: CH1_IA_pin
- switch.turn_off: CH1_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_1_sensor
stop_action:
- switch.turn_off: CH1_IA_pin
- switch.turn_off: CH1_IB_pin
max_duration : 40s
id: CH1_cover
- platform: endstop
name: ${ch2_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH2_IB_pin
- switch.turn_off: CH2_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_2_sensor
close_action:
- switch.turn_on: CH2_IA_pin
- switch.turn_off: CH2_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_2_sensor
stop_action:
- switch.turn_off: CH2_IA_pin
- switch.turn_off: CH2_IB_pin
max_duration : 40s
id: CH2_cover
- platform: endstop
name: ${ch3_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH3_IB_pin
- switch.turn_off: CH3_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_3_sensor
close_action:
- switch.turn_on: CH3_IA_pin
- switch.turn_off: CH3_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_3_sensor
stop_action:
- switch.turn_off: CH3_IA_pin
- switch.turn_off: CH3_IB_pin
max_duration : 40s
id: CH3_cover
- platform: endstop
name: ${ch4_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH4_IB_pin
- switch.turn_off: CH4_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_4_sensor
close_action:
- switch.turn_on: CH4_IA_pin
- switch.turn_off: CH4_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_4_sensor
stop_action:
- switch.turn_off: CH4_IA_pin
- switch.turn_off: CH4_IB_pin
max_duration : 40s
id: CH4_cover
- platform: endstop
name: ${ch5_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH5_IB_pin
- switch.turn_off: CH5_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_5_sensor
close_action:
- switch.turn_on: CH5_IA_pin
- switch.turn_off: CH5_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_5_sensor
stop_action:
- switch.turn_off: CH5_IA_pin
- switch.turn_off: CH5_IB_pin
max_duration : 40s
id: CH5_cover
- platform: endstop
name: ${ch6_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH6_IB_pin
- switch.turn_off: CH6_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_6_sensor
close_action:
- switch.turn_on: CH6_IA_pin
- switch.turn_off: CH6_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_6_sensor
stop_action:
- switch.turn_off: CH6_IA_pin
- switch.turn_off: CH6_IB_pin
max_duration : 40s
id: CH6_cover
- platform: endstop
name: ${ch7_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH7_IB_pin
- switch.turn_off: CH7_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_7_sensor
close_action:
- switch.turn_on: CH7_IA_pin
- switch.turn_off: CH7_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_7_sensor
stop_action:
- switch.turn_off: CH7_IA_pin
- switch.turn_off: CH7_IB_pin
max_duration : 40s
id: CH7_cover
- platform: endstop
name: ${ch8_cover_name}
device_class: shutter
open_action:
- switch.turn_on: CH8_IB_pin
- switch.turn_off: CH8_IA_pin
open_duration: 31s #39s
open_endstop: BEMF_8_sensor
close_action:
- switch.turn_on: CH8_IA_pin
- switch.turn_off: CH8_IB_pin
close_duration: 32s #49s
close_endstop: BEMF_8_sensor
stop_action:
- switch.turn_off: CH8_IA_pin
- switch.turn_off: CH8_IB_pin
max_duration : 40s
id: CH8_cover