"Hello everyone,
This is my first post on the forum, and I hope I won’t annoy anyone with such a trivial question, but even Uncle Google couldn’t help me.
What’s wrong with this code?"
binary_sensor:
- platform: esp32_touch
name: "Leak sensor"
pin: GPIO27
threshold: 20
light:
- platform: binary
id: lightleak
output: ledleak
internal: true
effects:
- pulse:
name: "Pulsating Light"
transition_length: 1s
update_interval: 2s
min_brightness: 0%
max_brightness: 100%
output:
- id: ledleak
platform: gpio
pin: GPIO19