mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 17:27:45 +01:00
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
|