mirror of
https://github.com/boneIO-eu/esphome.git
synced 2026-04-10 20:50:02 +02:00
move from single output file to multiple output files
This commit is contained in:
23
boards/cover/out01_02.yaml
Normal file
23
boards/cover/out01_02.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_01_out01
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 15
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_01 [cover_open_01_out01, cover_close_01_out02]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_01_out02
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 14
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_01
|
||||
restore_mode: always off
|
||||
23
boards/cover/out03_04.yaml
Normal file
23
boards/cover/out03_04.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_02_out03
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 13
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_02 [cover_open_02_out03, cover_close_02_out04]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_02_out04
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 12
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_02
|
||||
restore_mode: always off
|
||||
23
boards/cover/out05_06.yaml
Normal file
23
boards/cover/out05_06.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_03_out05
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 11
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_03 [cover_open_03_out05, cover_close_03_out06]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_03_out06
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 10
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_03
|
||||
restore_mode: always off
|
||||
23
boards/cover/out07_08.yaml
Normal file
23
boards/cover/out07_08.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_04_out07
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 9
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_04 [cover_open_04_out07, cover_close_04_out08]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_04_out08
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 8
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_04
|
||||
restore_mode: always off
|
||||
23
boards/cover/out09_10.yaml
Normal file
23
boards/cover/out09_10.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_05_out09
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 15
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_05 [cover_open_05_out09, cover_close_05_out10]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_05_out10
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 14
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_05
|
||||
restore_mode: always off
|
||||
23
boards/cover/out11_12.yaml
Normal file
23
boards/cover/out11_12.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_06_out11
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 13
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_06 [cover_open_06_out11, cover_close_06_out12]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_06_out12
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 12
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_06
|
||||
restore_mode: always off
|
||||
23
boards/cover/out13_14.yaml
Normal file
23
boards/cover/out13_14.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_07_out13
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 11
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_07 [cover_open_07_out13, cover_close_07_out14]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_07_out14
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 10
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_07
|
||||
restore_mode: always off
|
||||
23
boards/cover/out15_16.yaml
Normal file
23
boards/cover/out15_16.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_08_out15
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 9
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_08 [cover_open_08_out15, cover_close_08_out16]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_08_out16
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 8
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_08
|
||||
restore_mode: always off
|
||||
23
boards/cover/out17_18.yaml
Normal file
23
boards/cover/out17_18.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_09_out17
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 0
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_09 [cover_open_09_out17, cover_close_09_out18]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_09_out18
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 1
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_09
|
||||
restore_mode: always off
|
||||
23
boards/cover/out19_20.yaml
Normal file
23
boards/cover/out19_20.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_10_out19
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 2
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_10 [cover_open_10_out19, cover_close_10_out20]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_10_out20
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 3
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_10
|
||||
restore_mode: always off
|
||||
23
boards/cover/out21_22.yaml
Normal file
23
boards/cover/out21_22.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_11_out21
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 4
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_11 [cover_open_11_out21, cover_close_11_out22]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_11_out22
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 5
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_11
|
||||
restore_mode: always off
|
||||
23
boards/cover/out23_24.yaml
Normal file
23
boards/cover/out23_24.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_12_out23
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 6
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_12 [cover_open_12_out23, cover_close_12_out24]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_12_out24
|
||||
pin:
|
||||
pcf8574: pcf_left
|
||||
number: 7
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_12
|
||||
restore_mode: always off
|
||||
23
boards/cover/out25_26.yaml
Normal file
23
boards/cover/out25_26.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_13_out25
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 0
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_13 [cover_open_13_out25, cover_close_13_out26]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_13_out26
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 1
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_13
|
||||
restore_mode: always off
|
||||
23
boards/cover/out27_28.yaml
Normal file
23
boards/cover/out27_28.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_14_out27
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 2
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_14 [cover_open_14_out27, cover_close_14_out28]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_14_out28
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 3
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_14
|
||||
restore_mode: always off
|
||||
23
boards/cover/out29_30.yaml
Normal file
23
boards/cover/out29_30.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_15_out29
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 4
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_15 [cover_open_15_out29, cover_close_15_out30]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_15_out30
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 5
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_15
|
||||
restore_mode: always off
|
||||
23
boards/cover/out31_32.yaml
Normal file
23
boards/cover/out31_32.yaml
Normal file
@@ -0,0 +1,23 @@
|
||||
switch:
|
||||
- platform: gpio
|
||||
id: cover_open_16_out31
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 6
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: &cover_interlock_16 [cover_open_16_out31, cover_close_16_out32]
|
||||
interlock_wait_time: 5ms
|
||||
restore_mode: always off
|
||||
|
||||
- platform: gpio
|
||||
id: cover_close_16_out32
|
||||
pin:
|
||||
pcf8574: pcf_right
|
||||
number: 7
|
||||
mode:
|
||||
output: true
|
||||
inverted: true
|
||||
interlock: *cover_interlock_16
|
||||
restore_mode: always off
|
||||
Reference in New Issue
Block a user