mirror of
https://github.com/home-assistant/core.git
synced 2025-08-29 09:21:35 +02:00
Adjust intent integration
This commit is contained in:
@@ -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],
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user