Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 845 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 845 Bytes

Responses

YAML files for each intent with the response template that Home Assistant will give when the intent is executed.

The sentences are rendered as a Home Assistant template with access to variables such as state and slots. The state object contains the state of the matched object. A slots object contains the text of each matched intent slot.

File Format

language: "<language code>"
responses:
  intents:
    <intent name>:
      # List of responses. If "response" is not set in the intent, then "default" will be used.
      default:
        - "{{ slots.name }} is {{ state.state_with_unit }}"

NOTE: These are not the same format as the sentence templates in this repository.