esphome/tests/components/pulse_meter/test.esp32.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