esphome/tests/components/pulse_counter/test.esp32-idf.yaml

9 lines
197 B
YAML

sensor:
- platform: pulse_counter
name: Pulse Counter
pin: 4
count_mode:
rising_edge: INCREMENT
falling_edge: DECREMENT
internal_filter: 13us
update_interval: 15s