esphome/tests/components/pulse_counter/test.esp8266.yaml

10 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