Cleaned up duplicate pin usage.

This commit is contained in:
Marcus Scholz 2023-12-25 16:45:19 +01:00
parent c0ebd9188d
commit 395bf7bb9c
2 changed files with 4 additions and 18 deletions

View File

@ -56,7 +56,6 @@ microphone:
voice_assistant:
microphone: echo_microphone
speaker: atom_echo_speaker
on_start:
- light.turn_on:
id: led
@ -72,6 +71,7 @@ voice_assistant:
green: 100%
effect: none
on_tts_end:
- media_player.play_media: !lambda return x;
- light.turn_on:
id: led
blue: 0%
@ -82,7 +82,7 @@ voice_assistant:
- delay: 1s
- wait_until:
not:
speaker.is_playing: atom_echo_speaker
media_player.is_playing: media_out
- light.turn_off: led
on_error:
- light.turn_on:
@ -125,13 +125,6 @@ media_player:
i2s_dout_pin: GPIO22
mode: mono
speaker:
- platform: i2s_audio
id: atom_echo_speaker
dac_type: external
i2s_dout_pin: GPIO22
mode: mono
light:
- platform: esp32_rmt_led_strip
id: led
@ -145,4 +138,4 @@ light:
effects:
- pulse:
transition_length: 250ms
update_interval: 250ms
update_interval: 250ms

View File

@ -74,13 +74,6 @@ media_player:
number: GPIO21
inverted: true
speaker:
- platform: i2s_audio
id: luxe_out_speaker
dac_type: external
i2s_dout_pin: GPIO26
mode: stereo
microphone:
- platform: i2s_audio
id: luxe_microphone
@ -205,4 +198,4 @@ light:
effects:
- pulse:
transition_length: 250ms
update_interval: 250ms
update_interval: 250ms