From 3738881299f403b0a35bf4819e5544cfc2444764 Mon Sep 17 00:00:00 2001 From: Franck Nijhof Date: Mon, 26 Oct 2020 16:55:34 +0100 Subject: [PATCH] Adjust intent integration --- homeassistant/components/intent_script/__init__.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/intent_script/__init__.py b/homeassistant/components/intent_script/__init__.py index ebbd2bb824e..892ea83982c 100644 --- a/homeassistant/components/intent_script/__init__.py +++ b/homeassistant/components/intent_script/__init__.py @@ -87,13 +87,14 @@ class ScriptIntentHandler(intent.IntentHandler): if speech is not None: response.async_set_speech( - speech[CONF_TEXT].async_render(slots), speech[CONF_TYPE] + speech[CONF_TEXT].async_render(slots, parse_result=False), + speech[CONF_TYPE], ) if card is not None: response.async_set_card( - card[CONF_TITLE].async_render(slots), - card[CONF_CONTENT].async_render(slots), + card[CONF_TITLE].async_render(slots, parse_result=False), + card[CONF_CONTENT].async_render(slots, parse_result=False), card[CONF_TYPE], )