[aic3204] Use register_apply_action for aic3204.set_auto_mute_mode (#19684)

This commit is contained in:
J. Nick Koston
2026-09-26 01:34:06 +01:00
committed by GitHub
parent 93fabe8b84
commit a1d8ea6072
4 changed files with 14 additions and 40 deletions
@@ -0,0 +1,8 @@
button:
- platform: template
name: AIC3204 Auto Mute
on_press:
- aic3204.set_auto_mute_mode: 3
- aic3204.set_auto_mute_mode:
id: aic3204_dac
mode: !lambda return 7;
@@ -0,0 +1,4 @@
packages:
i2c: !include ../../test_build_components/common/i2c/esp8266-ard.yaml
aic3204: !include common.yaml
actions: !include common-actions.yaml