1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 19:02:18 +01:00

[microphone] Add software mute and fix wrong type for automations (#8667)

This commit is contained in:
Kevin Ahrendt
2025-05-01 14:02:33 -05:00
committed by GitHub
parent ced7ae1d7a
commit db97440b04
5 changed files with 66 additions and 5 deletions

View File

@@ -10,3 +10,11 @@ microphone:
adc_type: external
pdm: false
mclk_multiple: 384
on_data:
- if:
condition:
- microphone.is_muted:
then:
- microphone.unmute:
else:
- microphone.mute: