mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 23:18:10 +01:00
10 lines
197 B
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
|