mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 04:12:23 +01:00
Add some components to the new testing framework (P) (#6213)
This commit is contained in:
13
tests/components/pulse_meter/test.esp8266.yaml
Normal file
13
tests/components/pulse_meter/test.esp8266.yaml
Normal file
@@ -0,0 +1,13 @@
|
||||
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
|
Reference in New Issue
Block a user