1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Add some components to the new testing framework (E) (#6176)

This commit is contained in:
Keith Burzinski
2024-03-18 18:52:40 -05:00
committed by GitHub
parent 95443a4354
commit 61f11386a9
111 changed files with 2106 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
esp32_touch:
setup_mode: false
iir_filter: 10ms
sleep_duration: 27ms
measurement_duration: 8ms
low_voltage_reference: 0.5V
high_voltage_reference: 2.7V
voltage_attenuation: 1.5V
binary_sensor:
- platform: esp32_touch
name: ESP32 Touch Pad
pin: 27
threshold: 1000
on_press:
- logger.log: "I'm touched!"

View File

@@ -0,0 +1,16 @@
esp32_touch:
setup_mode: false
iir_filter: 10ms
sleep_duration: 27ms
measurement_duration: 8ms
low_voltage_reference: 0.5V
high_voltage_reference: 2.7V
voltage_attenuation: 1.5V
binary_sensor:
- platform: esp32_touch
name: ESP32 Touch Pad
pin: 27
threshold: 1000
on_press:
- logger.log: "I'm touched!"