1
0
mirror of https://github.com/esphome/esphome.git synced 2025-02-13 08:28:19 +00:00
2025-02-05 12:05:45 +13:00

15 lines
233 B
YAML

binary_sensor:
- platform: gpio
pin: ${binary_sensor_pin}
id: gpio_binary_sensor
output:
- platform: gpio
pin: ${output_pin}
id: gpio_output
switch:
- platform: gpio
pin: ${switch_pin}
id: gpio_switch