Update touch pad values
Crappy fixed the touch pads with tape :)
This commit is contained in:
parent
3c53540bb8
commit
d2b3027bc4
1 changed files with 4 additions and 2 deletions
|
|
@ -107,19 +107,21 @@ sensor:
|
||||||
|
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
# ESP32 touch pins: 4, 13, 27, 32, 33
|
# ESP32 touch pins: 4, 13, 27, 32, 33
|
||||||
|
# Touch Pad T4
|
||||||
- platform: esp32_touch
|
- platform: esp32_touch
|
||||||
name: "touch pad GPIO13"
|
name: "touch pad GPIO13"
|
||||||
pin: GPIO13
|
pin: GPIO13
|
||||||
threshold: 923
|
threshold: 902
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle:
|
- light.toggle:
|
||||||
id: front_light
|
id: front_light
|
||||||
internal: true
|
internal: true
|
||||||
|
# Touch Pad T7
|
||||||
- platform: esp32_touch
|
- platform: esp32_touch
|
||||||
name: "touch pad GPIO27"
|
name: "touch pad GPIO27"
|
||||||
pin: GPIO27
|
pin: GPIO27
|
||||||
threshold: 1125
|
threshold: 1030
|
||||||
on_press:
|
on_press:
|
||||||
then:
|
then:
|
||||||
- light.toggle:
|
- light.toggle:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue