mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add es8388 audio_dac (#8342)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										25
									
								
								tests/components/es8388/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								tests/components/es8388/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - audio_dac.mute_off: | ||||
|       - audio_dac.mute_on: | ||||
|  | ||||
|       - audio_dac.set_volume: | ||||
|           volume: 50% | ||||
|  | ||||
| i2c: | ||||
|   - id: i2c_es8388 | ||||
|     scl: ${scl_pin} | ||||
|     sda: ${sda_pin} | ||||
|  | ||||
| audio_dac: | ||||
|   - platform: es8388 | ||||
|     id: es8388_parent | ||||
|  | ||||
| select: | ||||
|   - platform: es8388 | ||||
|     es8388_id: es8388_parent | ||||
|     dac_output: | ||||
|       name: "DAC Output" | ||||
|     adc_input_mic: | ||||
|       name: "ADC Input MIC" | ||||
		Reference in New Issue
	
	Block a user