mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 18:54:14 +01:00
13 lines
289 B
YAML
13 lines
289 B
YAML
sensor:
|
|
- platform: pulse_meter
|
|
id: pulse_meter_sensor
|
|
name: Pulse Meter
|
|
pin: 4
|
|
internal_filter: 100ms
|
|
timeout: 2 min
|
|
on_value:
|
|
- pulse_meter.set_total_pulses:
|
|
id: pulse_meter_sensor
|
|
value: 12345
|
|
total:
|
|
name: Pulse Meter Total
|