mirror of
https://github.com/esphome/esphome.git
synced 2024-12-25 06:54:52 +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
|