mirror of
https://github.com/esphome/esphome.git
synced 2025-11-03 00:21:56 +00:00
[es8311] Add es8311 dac component (#7693)
This commit is contained in:
15
tests/components/es8311/common.yaml
Normal file
15
tests/components/es8311/common.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- audio_dac.mute_off:
|
||||
- audio_dac.mute_on:
|
||||
- audio_dac.set_volume:
|
||||
volume: 50%
|
||||
|
||||
i2c:
|
||||
- id: i2c_aic3204
|
||||
scl: ${scl_pin}
|
||||
sda: ${sda_pin}
|
||||
|
||||
audio_dac:
|
||||
- platform: es8311
|
||||
Reference in New Issue
Block a user