mirror of
https://github.com/esphome/esphome.git
synced 2024-12-21 16:27:44 +01:00
d9d368d38e
Co-authored-by: Samuel Sieb <samuel@sieb.net>
16 lines
240 B
YAML
16 lines
240 B
YAML
packages:
|
|
common: !include common.yaml
|
|
|
|
matrix_keypad:
|
|
id: keypad
|
|
rows:
|
|
- pin: 1
|
|
- pin: 2
|
|
columns:
|
|
- pin: 3
|
|
- pin: 4
|
|
keys: "1234"
|
|
has_pulldowns: true
|
|
on_key:
|
|
- lambda: ESP_LOGI("KEY", "key %d pressed", x);
|