mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
pulse_counter_ulp: Add test specific to esp32-s3
This commit is contained in:
parent
e86ade632d
commit
e7f86e4fc3
3 changed files with 12 additions and 10 deletions
10
tests/components/pulse_counter_ulp/common.yaml
Normal file
10
tests/components/pulse_counter_ulp/common.yaml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
sensor:
|
||||||
|
- platform: pulse_counter_ulp
|
||||||
|
name: Pulse Counter ULP
|
||||||
|
pin: 4
|
||||||
|
count_mode:
|
||||||
|
rising_edge: INCREMENT
|
||||||
|
falling_edge: DECREMENT
|
||||||
|
sleep_duration: 13ms
|
||||||
|
debounce: 4
|
||||||
|
update_interval: 15s
|
|
@ -1,10 +1 @@
|
||||||
sensor:
|
<<: !include common.yaml
|
||||||
- platform: pulse_counter_ulp
|
|
||||||
name: Pulse Counter ULP
|
|
||||||
pin: 4
|
|
||||||
count_mode:
|
|
||||||
rising_edge: INCREMENT
|
|
||||||
falling_edge: DECREMENT
|
|
||||||
sleep_duration: 13ms
|
|
||||||
debounce: 4
|
|
||||||
update_interval: 15s
|
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<<: !include common.yaml
|
Loading…
Reference in a new issue