From 85e79a83c883fa06fd3658739d2bc60ab5f52b8c Mon Sep 17 00:00:00 2001 From: Lukas Barth Date: Sat, 11 Nov 2017 17:00:37 +0100 Subject: [PATCH] Adapt to new yarl API --- homeassistant/components/tts/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/tts/google.py b/homeassistant/components/tts/google.py index 4551a792fc6616..e405e5be531a8c 100644 --- a/homeassistant/components/tts/google.py +++ b/homeassistant/components/tts/google.py @@ -87,7 +87,7 @@ def async_get_tts_audio(self, message, language, options=None): url_param = { 'ie': 'UTF-8', 'tl': language, - 'q': yarl.quote(part, strict=False), + 'q': yarl.quote(part), 'tk': part_token, 'total': len(message_parts), 'idx': idx,