Fix touch threshold and add filter

This commit is contained in:
Jakob Lechner 2025-05-21 17:29:08 +02:00
parent d1fc275307
commit c939f81d87

View file

@ -118,13 +118,17 @@ binary_sensor:
- light.toggle:
id: front_light
internal: true
filters:
settle: 1s
# Touch Pad T7
- platform: esp32_touch
name: "touch pad GPIO27"
pin: GPIO27
threshold: 1030
threshold: 1086
on_press:
then:
- light.toggle:
id: background_light
internal: true
filters:
settle: 1s