mirror of
https://github.com/esphome/esphome.git
synced 2025-09-01 19:02:18 +01:00
Consolidate test files where all tests are identical (#6690)
This commit is contained in:
15
tests/components/micro_wake_word/common.yaml
Normal file
15
tests/components/micro_wake_word/common.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: GPIO18
|
||||
i2s_bclk_pin: GPIO19
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: echo_microphone
|
||||
i2s_din_pin: GPIO17
|
||||
adc_type: external
|
||||
pdm: true
|
||||
|
||||
micro_wake_word:
|
||||
model: hey_jarvis
|
||||
on_wake_word_detected:
|
||||
- logger.log: "Wake word detected"
|
@@ -1,15 +1 @@
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: GPIO18
|
||||
i2s_bclk_pin: GPIO19
|
||||
|
||||
microphone:
|
||||
- platform: i2s_audio
|
||||
id: echo_microphone
|
||||
i2s_din_pin: GPIO17
|
||||
adc_type: external
|
||||
pdm: true
|
||||
|
||||
micro_wake_word:
|
||||
model: hey_jarvis
|
||||
on_wake_word_detected:
|
||||
- logger.log: "Wake word detected"
|
||||
<<: !include common.yaml
|
||||
|
Reference in New Issue
Block a user