Conversation


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:

# Example base configuration.yaml entry
conversation:

To add custom phrases to be recognized:

# 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.

To use the conversation component with the shopping list component add an intent.

# Example configuration.yaml entry
conversation:
  intents:
    ShoppingListAddItem:
      - Add {item} to my shopping list

When this component is active and you are using a supported browser voice commands will be activated in the frontend. Browse to the demo using Chrome or Chromium to see it in action.

Apple iPhones do not support this feature in any browser.