mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 00:18:11 +01:00
14 lines
289 B
YAML
14 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
|