diff --git a/tests/components/pulse_counter_ulp/common.yaml b/tests/components/pulse_counter_ulp/common.yaml new file mode 100644 index 0000000000..c63294c0c4 --- /dev/null +++ b/tests/components/pulse_counter_ulp/common.yaml @@ -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 diff --git a/tests/components/pulse_counter_ulp/test.esp32-idf.yaml b/tests/components/pulse_counter_ulp/test.esp32-idf.yaml index c63294c0c4..dade44d145 100644 --- a/tests/components/pulse_counter_ulp/test.esp32-idf.yaml +++ b/tests/components/pulse_counter_ulp/test.esp32-idf.yaml @@ -1,10 +1 @@ -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 +<<: !include common.yaml diff --git a/tests/components/pulse_counter_ulp/test.esp32-s3-idf.yaml b/tests/components/pulse_counter_ulp/test.esp32-s3-idf.yaml new file mode 100644 index 0000000000..dade44d145 --- /dev/null +++ b/tests/components/pulse_counter_ulp/test.esp32-s3-idf.yaml @@ -0,0 +1 @@ +<<: !include common.yaml