This commit is contained in:
+35
-17
@@ -18,26 +18,26 @@ mcp23008:
|
|||||||
i2c_id: buttons
|
i2c_id: buttons
|
||||||
address: 0x23
|
address: 0x23
|
||||||
|
|
||||||
output:
|
# output:
|
||||||
# - platform: mcp23xxx
|
# # - platform: mcp23xxx
|
||||||
# mcp23xxx_id: base_J2
|
# # mcp23xxx_id: base_J2
|
||||||
# pin: 1
|
# # pin: 1
|
||||||
# id: cs_pin_1
|
# # id: cs_pin_1
|
||||||
|
|
||||||
# - platform: mcp23xxx
|
# # - platform: mcp23xxx
|
||||||
# mcp23xxx_id: base_J2
|
# # mcp23xxx_id: base_J2
|
||||||
# pin: 5
|
# # pin: 5
|
||||||
# id: cs_pin_2
|
# # id: cs_pin_2
|
||||||
|
|
||||||
- platform: mcp23xxx
|
# - platform: mcp23xxx
|
||||||
mcp23xxx_id: base_J3
|
# mcp23xxx_id: base_J3
|
||||||
pin: 1
|
# pin: 1
|
||||||
id: cs_pin_3
|
# id: cs_pin_3
|
||||||
|
|
||||||
- platform: mcp23xxx
|
# - platform: mcp23xxx
|
||||||
mcp23xxx_id: base_J3
|
# mcp23xxx_id: base_J3
|
||||||
pin: 5
|
# pin: 5
|
||||||
id: cs_pin_4
|
# id: cs_pin_4
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
############################
|
############################
|
||||||
@@ -115,6 +115,24 @@ light:
|
|||||||
from: 3
|
from: 3
|
||||||
to: 3
|
to: 3
|
||||||
|
|
||||||
|
output:
|
||||||
|
- id: cs_pin_3
|
||||||
|
platform: gpio
|
||||||
|
pin:
|
||||||
|
mcp23xxx: base_J3
|
||||||
|
number: 5
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: false
|
||||||
|
- id: cs_pin_4
|
||||||
|
platform: gpio
|
||||||
|
pin:
|
||||||
|
mcp23xxx: base_J3
|
||||||
|
number: 1
|
||||||
|
mode:
|
||||||
|
output: true
|
||||||
|
inverted: false
|
||||||
|
|
||||||
display:
|
display:
|
||||||
####################
|
####################
|
||||||
### Main Display ###
|
### Main Display ###
|
||||||
|
|||||||
Reference in New Issue
Block a user