mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-07-19 15:26:29 +00:00
Update intent_conversation.md
This commit is contained in:
parent
b23fdda794
commit
20285e9185
@ -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}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user