From 20285e91855d7c3b0c7b3c4ace5f87bed4acc566 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 18 May 2018 10:26:31 -0400 Subject: [PATCH] Update intent_conversation.md --- docs/intent_conversation.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/intent_conversation.md b/docs/intent_conversation.md index f87fe364..f5ddc351 100644 --- a/docs/intent_conversation.md +++ b/docs/intent_conversation.md @@ -9,8 +9,7 @@ As a component, you can register sentences with the conversation component to al Example code: ```python -@asyncio.coroutine -def async_setup(hass, config): +async def async_setup(hass, config): hass.components.conversation.async_register('MyCoolIntent', [ 'I think that {object} is very cool', 'Nothing is cooler than {object}'