mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-29 22:24:26 +00:00 
			
		
		
		
	[microphone] Add software mute and fix wrong type for automations (#8667)
This commit is contained in:
		| @@ -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: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user