[audio_dac] Use register_apply_action for the mute_off, mute_on and set_volume actions (#19546)

This commit is contained in:
J. Nick Koston
2026-09-24 08:51:04 -04:00
committed by GitHub
parent f24e1f31f2
commit eae8ff7f91
3 changed files with 14 additions and 79 deletions
+3
View File
@@ -5,7 +5,10 @@ esphome:
- audio_dac.mute_on:
- audio_dac.set_volume:
volume: 50%
- audio_dac.set_volume:
volume: !lambda return id(aic3204_dac).volume() * 0.5f;
audio_dac:
- platform: aic3204
id: aic3204_dac
i2c_id: i2c_bus