mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 13:57:10 +00:00
Disable Watson TTS Telemetry (#26253)
This commit is contained in:
parent
25ef4a156f
commit
32a6a76d6a
@ -99,6 +99,7 @@ def get_engine(hass, config):
|
||||
supported_languages = list({s[:5] for s in SUPPORTED_VOICES})
|
||||
default_voice = config[CONF_VOICE]
|
||||
output_format = config[CONF_OUTPUT_FORMAT]
|
||||
service.set_default_headers({"x-watson-learning-opt-out": "true"})
|
||||
|
||||
return WatsonTTSProvider(service, supported_languages, default_voice, output_format)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user