mirror of
https://github.com/esphome/esphome.git
synced 2026-09-28 15:30:21 +00:00
[aic3204] Use register_apply_action for aic3204.set_auto_mute_mode (#19684)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user