mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add some components to the new testing framework (S part 2) (#6227)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
17
tests/components/speaker/test.esp32-c3-idf.yaml
Normal file
17
tests/components/speaker/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- speaker.play: [0, 1, 2, 3]
|
||||
- speaker.stop
|
||||
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 6
|
||||
i2s_bclk_pin: 7
|
||||
i2s_mclk_pin: 5
|
||||
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
id: speaker_id
|
||||
dac_type: external
|
||||
i2s_dout_pin: 3
|
||||
mode: mono
|
17
tests/components/speaker/test.esp32-c3.yaml
Normal file
17
tests/components/speaker/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- speaker.play: [0, 1, 2, 3]
|
||||
- speaker.stop
|
||||
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 6
|
||||
i2s_bclk_pin: 7
|
||||
i2s_mclk_pin: 5
|
||||
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
id: speaker_id
|
||||
dac_type: external
|
||||
i2s_dout_pin: 3
|
||||
mode: mono
|
17
tests/components/speaker/test.esp32-idf.yaml
Normal file
17
tests/components/speaker/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- speaker.play: [0, 1, 2, 3]
|
||||
- speaker.stop
|
||||
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 16
|
||||
i2s_bclk_pin: 17
|
||||
i2s_mclk_pin: 15
|
||||
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
id: speaker_id
|
||||
dac_type: external
|
||||
i2s_dout_pin: 13
|
||||
mode: mono
|
17
tests/components/speaker/test.esp32.yaml
Normal file
17
tests/components/speaker/test.esp32.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- speaker.play: [0, 1, 2, 3]
|
||||
- speaker.stop
|
||||
|
||||
i2s_audio:
|
||||
i2s_lrclk_pin: 16
|
||||
i2s_bclk_pin: 17
|
||||
i2s_mclk_pin: 15
|
||||
|
||||
speaker:
|
||||
- platform: i2s_audio
|
||||
id: speaker_id
|
||||
dac_type: external
|
||||
i2s_dout_pin: 13
|
||||
mode: mono
|
Reference in New Issue
Block a user