Add dummy TTS speaker
This commit is contained in:
@@ -379,6 +379,22 @@ microphone:
|
|||||||
pdm: false
|
pdm: false
|
||||||
channel: left
|
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:
|
micro_wake_word:
|
||||||
id: mww
|
id: mww
|
||||||
microphone:
|
microphone:
|
||||||
@@ -410,6 +426,7 @@ micro_wake_word:
|
|||||||
voice_assistant:
|
voice_assistant:
|
||||||
id: va
|
id: va
|
||||||
microphone: mic
|
microphone: mic
|
||||||
|
media_player: dummy_mp
|
||||||
micro_wake_word: mww
|
micro_wake_word: mww
|
||||||
use_wake_word: false
|
use_wake_word: false
|
||||||
noise_suppression_level: 3
|
noise_suppression_level: 3
|
||||||
@@ -491,6 +508,13 @@ light:
|
|||||||
- script.execute: light_off
|
- script.execute: light_off
|
||||||
|
|
||||||
output:
|
output:
|
||||||
|
- platform: template
|
||||||
|
id: dummy_audio
|
||||||
|
type: float
|
||||||
|
write_action:
|
||||||
|
# do nothing
|
||||||
|
then: []
|
||||||
|
|
||||||
- platform: ledc
|
- platform: ledc
|
||||||
id: rgb_r
|
id: rgb_r
|
||||||
pin: GPIO23
|
pin: GPIO23
|
||||||
|
Reference in New Issue
Block a user