esphome/tests/components/matrix_keypad/test.esp8266.yaml

20 lines
271 B
YAML

binary_sensor:
- platform: matrix_keypad
id: key4
row: 1
col: 1
- platform: matrix_keypad
id: key1
key: 1
matrix_keypad:
id: keypad
rows:
- pin: 12
- pin: 13
columns:
- pin: 14
- pin: 15
keys: "1234"
has_pulldowns: true