Fix touch threshold and add filter
This commit is contained in:
parent
d1fc275307
commit
c939f81d87
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue