mirror of
https://github.com/dlitz/esphome-configs-dlitz.git
synced 2026-04-15 22:03:26 -06:00
17 lines
379 B
YAML
17 lines
379 B
YAML
substitutions:
|
|
# shelly_header_gpio_number: GPIO19
|
|
shelly_header_gpio_pin:
|
|
number: ${shelly_header_gpio_number}
|
|
inverted: true
|
|
mode:
|
|
input: true
|
|
pullup: true
|
|
|
|
binary_sensor:
|
|
- platform: gpio
|
|
id: binary_sensor_header_gpio_id
|
|
name: "Header GPIO"
|
|
entity_category: diagnostic
|
|
disabled_by_default: true
|
|
pin: ${shelly_header_gpio_pin}
|