esphome/tests/components/es8156/common.yaml

16 lines
235 B
YAML

esphome:
on_boot:
then:
- audio_dac.mute_off:
- audio_dac.mute_on:
- audio_dac.set_volume:
volume: 50%
i2c:
- id: i2c_es8156
scl: ${scl_pin}
sda: ${sda_pin}
audio_dac:
- platform: es8156