Add dummy TTS speaker

This commit is contained in:
2025-09-10 12:38:43 -04:00
parent 2ac96fe166
commit fb4320ed40

View File

@@ -379,6 +379,22 @@ microphone:
pdm: false
channel: left
# DUMMY: The SuperSensor has no speaker attached.
# This is needed to work around home-assistant/core#142363 and the inability
# of an Assist pipeline to work properly with no STT configured (issue unknown)
# So instead we just have a speaker to nowhere. Stupid but should work.
speaker:
- platform: template
id: dummy_spkr
output: dummy_audio
media_player:
- platform: speaker
id: dummy_mp
name: "Dummy Speaker"
speaker: dummy_spkr
# END DUMMY
micro_wake_word:
id: mww
microphone:
@@ -410,6 +426,7 @@ micro_wake_word:
voice_assistant:
id: va
microphone: mic
media_player: dummy_mp
micro_wake_word: mww
use_wake_word: false
noise_suppression_level: 3
@@ -491,6 +508,13 @@ light:
- script.execute: light_off
output:
- platform: template
id: dummy_audio
type: float
write_action:
# do nothing
then: []
- platform: ledc
id: rgb_r
pin: GPIO23