mirror of
https://github.com/esphome/esphome.git
synced 2026-11-02 03:16:40 +00:00
Co-authored-by: J. Nick Koston <nick@koston.org> Co-authored-by: J. Nick Koston <nick@home-assistant.io>
32 lines
529 B
YAML
32 lines
529 B
YAML
substitutions:
|
|
binary_sensor_pin: GPIO12
|
|
output_pin: GPIO13
|
|
switch_pin: GPIO14
|
|
switch_pin_2: GPIO15
|
|
switch_pin_3: GPIO16
|
|
switch_pin_4: GPIO17
|
|
|
|
packages:
|
|
gpio: !include common.yaml
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
pin:
|
|
number: GPIO18
|
|
hold_state: true
|
|
id: gpio_binary_sensor_esp32
|
|
|
|
output:
|
|
- platform: gpio
|
|
pin:
|
|
number: GPIO19
|
|
hold_state: true
|
|
id: gpio_output_esp32
|
|
|
|
switch:
|
|
- platform: gpio
|
|
pin:
|
|
number: GPIO21
|
|
hold_state: true
|
|
id: gpio_switch_esp32
|