Initial commit
This commit is contained in:
151
packages/main_hub/mcp23017/outputs/0x21.yaml
Normal file
151
packages/main_hub/mcp23017/outputs/0x21.yaml
Normal file
@@ -0,0 +1,151 @@
|
||||
mcp23017:
|
||||
- id: "mcp23xxx_0x21_out"
|
||||
address: 0x21
|
||||
|
||||
output:
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out0_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 0, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out1_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 1, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out2_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 2, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out3_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 3, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out4_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 4, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out5_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 5, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out6_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 6, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out7_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 7, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out8_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 8, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out9_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 9, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out10_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 10, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out11_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 11, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out12_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 12, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out13_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 13, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out14_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 14, mode: OUTPUT, inverted: False}
|
||||
- platform: gpio
|
||||
id: mcp_0x21_out15_gpio
|
||||
pin: {mcp23xxx: mcp23xxx_0x21_out, number: 15, mode: OUTPUT, inverted: False}
|
||||
|
||||
light:
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out0"
|
||||
id: mcp_0x21_out0
|
||||
output: mcp_0x21_out0_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out1"
|
||||
id: mcp_0x21_out1
|
||||
output: mcp_0x21_out1_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out2"
|
||||
id: mcp_0x21_out2
|
||||
output: mcp_0x21_out2_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out3"
|
||||
id: mcp_0x21_out3
|
||||
output: mcp_0x21_out3_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out4"
|
||||
id: mcp_0x21_out4
|
||||
output: mcp_0x21_out4_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out5"
|
||||
id: mcp_0x21_out5
|
||||
output: mcp_0x21_out5_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out6"
|
||||
id: mcp_0x21_out6
|
||||
output: mcp_0x21_out6_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out7"
|
||||
id: mcp_0x21_out7
|
||||
output: mcp_0x21_out7_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out8"
|
||||
id: mcp_0x21_out8
|
||||
output: mcp_0x21_out8_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out9"
|
||||
id: mcp_0x21_out9
|
||||
output: mcp_0x21_out9_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out10"
|
||||
id: mcp_0x21_out10
|
||||
output: mcp_0x21_out10_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out11"
|
||||
id: mcp_0x21_out11
|
||||
output: mcp_0x21_out11_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out12"
|
||||
id: mcp_0x21_out12
|
||||
output: mcp_0x21_out12_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out13"
|
||||
id: mcp_0x21_out13
|
||||
output: mcp_0x21_out13_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out14"
|
||||
id: mcp_0x21_out14
|
||||
output: mcp_0x21_out14_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
- platform: binary
|
||||
name: "mcp_0x21_out15"
|
||||
id: mcp_0x21_out15
|
||||
output: mcp_0x21_out15_gpio
|
||||
restore_mode: ALWAYS_OFF
|
||||
|
||||
Reference in New Issue
Block a user