mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Added new config docs for conversation (#2697)
* - Updated description * - Added different example and explained action
This commit is contained in:
parent
ef6f026ad9
commit
f7ab7092d4
@ -12,16 +12,32 @@ ha_category: "Voice"
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The conversation component can process sentences into commands for Home Assistant. It is currently limited to parsing commands in the format `turn <Friendly Name> <on/off>`.
|
The conversation component can process sentences into commands for Home Assistant. It currently has built in functionality to recognize `turn <Friendly Name> <on/off>`, but custom phrases can be added through configuration.
|
||||||
|
|
||||||
|
|
||||||
To enable the conversation option in your installation, add the following to your `configuration.yaml` file:
|
To enable the conversation option in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example base configuration.yaml entry
|
||||||
conversation:
|
conversation:
|
||||||
```
|
```
|
||||||
|
|
||||||
|
To add custom phrases to be recognized:
|
||||||
|
```yaml
|
||||||
|
# Example configuration.yaml entry with custom phrasesconversation
|
||||||
|
conversation:
|
||||||
|
boolean_test:
|
||||||
|
sentence: switch boolean # The phrase it will recognize
|
||||||
|
action:
|
||||||
|
service: input_boolean.toggle
|
||||||
|
```
|
||||||
|
|
||||||
|
The action keyword uses [script
|
||||||
|
syntax](https://home-assistant.io/docs/scripts/).
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
When this component is active and you are using a supported browser voice commands will be activated in the frontend. Browse to [the demo](/demo/) using Chrome or Chromium to see it in action.
|
When this component is active and you are using a supported browser voice commands will be activated in the frontend. Browse to [the demo](/demo/) using Chrome or Chromium to see it in action.
|
||||||
|
|
||||||
<p class='img'>
|
<p class='img'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user