From 8682f21fc5797fdf9951863110f042e510d02333 Mon Sep 17 00:00:00 2001 From: Charles Blonde Date: Fri, 7 Jul 2017 07:20:49 +0200 Subject: [PATCH] Fix TTS options. #8375 (#8376) --- homeassistant/components/tts/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/tts/__init__.py b/homeassistant/components/tts/__init__.py index 888a1773189..9f36b2fb78f 100644 --- a/homeassistant/components/tts/__init__.py +++ b/homeassistant/components/tts/__init__.py @@ -280,7 +280,9 @@ class SpeechManager(object): # Options if provider.default_options and options: - options = provider.default_options.copy().update(options) + merged_options = provider.default_options.copy() + merged_options.update(options) + options = merged_options options = options or provider.default_options if options is not None: invalid_opts = [opt_name for opt_name in options.keys()