mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Co-authored-by: Samuel Sieb <samuel-github@sieb.net> Co-authored-by: Tomasz Duda <tomaszduda23@gmai.com> Co-authored-by: J. Nick Koston <nick@koston.org>
15 lines
190 B
YAML
15 lines
190 B
YAML
binary_sensor:
|
|
- platform: gpio
|
|
pin: 2
|
|
id: gpio_binary_sensor
|
|
|
|
output:
|
|
- platform: gpio
|
|
pin: 3
|
|
id: gpio_output
|
|
|
|
switch:
|
|
- platform: gpio
|
|
pin: 4
|
|
id: gpio_switch
|